From 6620bc00fdf5173ffb20a9057a4580b59410dbd7 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 8 Jan 2024 15:27:28 -0800
Subject: feat(tools): new tools url method

---
 src/lib/Tools/Picker.svelte | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 src/lib/Tools/Picker.svelte

(limited to 'src/lib/Tools/Picker.svelte')

diff --git a/src/lib/Tools/Picker.svelte b/src/lib/Tools/Picker.svelte
new file mode 100644
index 00000000..6ead9624
--- /dev/null
+++ b/src/lib/Tools/Picker.svelte
@@ -0,0 +1,24 @@
+<script lang="ts">
+	import { browser } from '$app/environment';
+	import { goto } from '$app/navigation';
+
+	export let tool: string;
+</script>
+
+<blockquote>
+	<select
+		bind:value={tool}
+		on:change={() => {
+			if (browser) goto(`/tools/${tool}`);
+		}}
+	>
+		<option value="default" selected disabled hidden>Select a tool to continue</option>
+		<option value="wrapped">AniList Wrapped</option>
+		<option value="birthdays">Today's Character Birthdays</option>
+		<option value="sequel_spy">Sequel Spy</option>
+		<option value="discussions">Episode Discussion Collector</option>
+		<option value="random_follower">Random Follower Finder</option>
+		<option value="dump_profile">Dump Profile</option>
+		<option value="activity_history">Activity History Analyser</option>
+	</select>
+</blockquote>
-- 
cgit v1.2.3

