Handled retired behaviour on join page
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m21s
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m21s
This commit is contained in:
@@ -68,6 +68,9 @@ const currentStep = computed<number>(() => {
|
||||
case "denied":
|
||||
return 5;
|
||||
break;
|
||||
case "retired":
|
||||
return 5;
|
||||
break;
|
||||
}
|
||||
})
|
||||
|
||||
@@ -255,7 +258,39 @@ async function restartApp() {
|
||||
Team</span>
|
||||
</p>
|
||||
</div>
|
||||
<Button class="w-min" @click="restartApp">Restart Application</Button>
|
||||
<Button class="w-min" @click="restartApp">New Application</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else-if="userStore.state === 'retired'">
|
||||
<div class="w-full max-w-2xl flex flex-col gap-8">
|
||||
<h1 class="text-3xl sm:text-4xl font-bold text-left">
|
||||
You have retired from the 17th Ranger Battalion
|
||||
</h1>
|
||||
<div class="space-y-4 text-muted-foreground text-left leading-relaxed">
|
||||
<p>
|
||||
Thank you for your service and participation in the <strong>17th Ranger
|
||||
Battalion</strong>.
|
||||
Your time with us has been sincerely appreciated.
|
||||
</p>
|
||||
<p>
|
||||
Should you ever wish to return, you are welcome to <strong>reach out to our
|
||||
leadership
|
||||
team</strong>
|
||||
for guidance on the reinstatement process or to stay connected with the community.
|
||||
</p>
|
||||
<p>
|
||||
We recognize that circumstances change, and you will always have a place to
|
||||
reconnect with
|
||||
us
|
||||
should the opportunity arise in the future.
|
||||
</p>
|
||||
<p>
|
||||
All the best,<br />
|
||||
<span class="text-foreground font-medium">The 17th Ranger Battalion Leadership
|
||||
Team</span>
|
||||
</p>
|
||||
</div>
|
||||
<Button class="w-min" @click="restartApp">New Application</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user