💥 Done (almost)
This commit is contained in:
@@ -3,11 +3,8 @@
|
||||
import Icon from "$lib/components/atoms/icon.svelte";
|
||||
import Title from "$lib/components/atoms/title.svelte";
|
||||
import MaxWidthWrapper from "$lib/components/molecules/max-width-wrapper.svelte";
|
||||
import Button from "$lib/components/ui/button/button.svelte";
|
||||
import CloseIcon from "~icons/mdi/window-close";
|
||||
import ArrowRightIcon from "~icons/solar/multiple-forward-right-line-duotone";
|
||||
import RestartIcon from "~icons/material-symbols/restart-alt-rounded";
|
||||
import { onMount } from "svelte";
|
||||
import CloseIcon from "~icons/mdi/window-close";
|
||||
|
||||
let canRedirect = $state(false);
|
||||
|
||||
@@ -37,25 +34,9 @@
|
||||
<Title size="h3" center weight="medium">Session Terminated</Title>
|
||||
<p class="w-full max-w-prose text-center text-gray-600">
|
||||
Unfortunately, your session has been terminated due to inactivity
|
||||
or expiration of the booking.
|
||||
or something went wrong, please contact us to walk through the
|
||||
steps again.
|
||||
</p>
|
||||
<div class="flex w-full flex-col justify-center gap-4 md:flex-row">
|
||||
{#if canRedirect}
|
||||
<Button
|
||||
variant="default"
|
||||
size="lg"
|
||||
href={`/checkout/${sid}/${tid}`}
|
||||
>
|
||||
<Icon icon={RestartIcon} cls="w-auto h-6" />
|
||||
<span>Try Again</span>
|
||||
</Button>
|
||||
{/if}
|
||||
|
||||
<Button variant="defaultInverted" size="lg" href="/search">
|
||||
<Icon icon={ArrowRightIcon} cls="w-auto h-6" />
|
||||
<span>Back To Search</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</MaxWidthWrapper>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user