diff --git a/src/routes/invite/+page.svelte b/src/routes/invite/+page.svelte index 69614f0a6f..73c15a9c7f 100644 --- a/src/routes/invite/+page.svelte +++ b/src/routes/invite/+page.svelte @@ -8,6 +8,7 @@ import { page } from '$app/stores'; import { onMount } from 'svelte'; import { trackEvent } from '$lib/actions/analytics'; + import { Alert } from '$lib/components'; let teamId: string, membershipId: string, userId: string, secret: string; let terms = false; @@ -42,10 +43,22 @@ - Invite + + {#if !userId || !secret || !membershipId || !teamId} + Invalid invite + {:else} + Invite + {/if} + {#if !userId || !secret || !membershipId || !teamId} -

Invalid invite link.

+ + The invite link is not valid + Please ask the project owner to send you a new invite. + +
+ +
{:else}

You have been invited to join a team project on Appwrite