2025-09-06 00:20:12 +00:00
|
|
|
<script lang="ts">
|
|
|
|
|
import {page} from "$app/stores"
|
|
|
|
|
import {goto} from "$app/navigation"
|
2025-09-10 22:26:39 +00:00
|
|
|
import AltArrowLeft from "@assets/icons/alt-arrow-left.svg?dataurl"
|
2025-09-06 00:20:12 +00:00
|
|
|
import Icon from "@lib/components/Icon.svelte"
|
|
|
|
|
import Dialog from "@lib/components/Dialog.svelte"
|
|
|
|
|
import Button from "@lib/components/Button.svelte"
|
|
|
|
|
import SpaceInviteAccept from "@app/components/SpaceInviteAccept.svelte"
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<Dialog>
|
|
|
|
|
<SpaceInviteAccept invite={$page.url.href}>
|
|
|
|
|
{#snippet abortAction()}
|
|
|
|
|
<Button class="btn btn-link" onclick={() => goto("/home")}>
|
2025-09-10 22:26:39 +00:00
|
|
|
<Icon icon={AltArrowLeft} />
|
2025-09-06 00:20:12 +00:00
|
|
|
Go back
|
|
|
|
|
</Button>
|
|
|
|
|
{/snippet}
|
|
|
|
|
</SpaceInviteAccept>
|
|
|
|
|
</Dialog>
|