aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-27 23:33:01 -0700
committerFuwn <[email protected]>2023-09-27 23:33:01 -0700
commit8562ba4280c575b3f04df598b7954a2d28b19e50 (patch)
treeeaa43530441522b5104a1fd1e404ce6b663fc9b0 /src/routes
parentfix(anime): template increment render (diff)
downloaddue.moe-8562ba4280c575b3f04df598b7954a2d28b19e50.tar.xz
due.moe-8562ba4280c575b3f04df598b7954a2d28b19e50.zip
feat(wrapped): initial wrapped prototype
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/tools/+page.svelte4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index 885e491a..bbf0dd3c 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -1,6 +1,7 @@
<script lang="ts">
import ActivityHistory from '$lib/Tools/ActivityHistory.svelte';
import { todaysCharacterBirthdays } from '$lib/AniList/character';
+ import Wrapped from '$lib/Tools/Wrapped.svelte';
export let data;
@@ -12,6 +13,7 @@
<option value={0}>Tools</option>
<option value={1}>Today's Character Birthdays</option>
<option value={2}>Activity History Hole Risks</option>
+ <option value={3}>Wrapped</option>
</select>
</p>
@@ -19,6 +21,8 @@
Select a tool to continue.
{:else if tool === 2}
<ActivityHistory user={data.user} />
+{:else if tool === 3}
+ <Wrapped user={data.user} />
{:else if tool === 1}
<ul>
{#await todaysCharacterBirthdays()}