i forgot whatever i've been doing, i think i added an inbox

This commit is contained in:
Xyphyn committed 2023-07-04 18:45:15 -07:00
1 parent ef037349f0
commit 04704749b7
24 files changed
+307 -86

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<script lang="ts">
import InboxItem from './InboxItem.svelte'
export let data
</script>
<h1 class="font-bold text-3xl">Inbox</h1>
<div class="flex flex-col gap-4 list-none my-4">
{#if !data.data || (data.data?.length ?? 0) == 0}
<p class="text-center opacity-60 text-lg mx-4">
Wow, it's quite empty in here.
</p>
{:else}
{#each data.data as item}
<InboxItem {item} />
{/each}
{/if}
</div>