feat: add invites page

This commit is contained in:
Sam 2023-03-14 00:16:19 +01:00
parent fb10f29e2b
commit 1647ec16a4
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
8 changed files with 141 additions and 7 deletions

View file

@ -1,6 +1,6 @@
<script lang="ts">
import { onMount } from "svelte";
import { Alert } from "sveltestrap";
import { Alert, Icon } from "sveltestrap";
import { goto } from "$app/navigation";
import type { APIError, MeUser } from "$lib/api/entities";
@ -82,7 +82,8 @@
aria-describedby="invite-help"
/>
<div id="invite-help" class="form-text">
You currently need an invite code to sign up. You can get one from an existing user.
<Icon name="info" /> You currently need an invite code to sign up. You can get one from an
existing user.
</div>
</div>
{/if}