From 2caef2c1723801e6145331003e7b430e9772b65a Mon Sep 17 00:00:00 2001
From: Fuwn
Date: Fri, 22 Sep 2023 23:48:39 -0700
Subject: feat(tools): move activity history
---
src/routes/history/+page.svelte | 94 -----------------------------------------
src/routes/tools/+page.svelte | 6 +++
2 files changed, 6 insertions(+), 94 deletions(-)
delete mode 100644 src/routes/history/+page.svelte
(limited to 'src/routes')
diff --git a/src/routes/history/+page.svelte b/src/routes/history/+page.svelte
deleted file mode 100644
index 2bb0f129..00000000
--- a/src/routes/history/+page.svelte
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
-
- Activity History
-
- Days in risk of developing an activity history hole. (days with one activity)
-
-
-
- {#if data.user === undefined}
- Please log in to view this page.
- {:else}
- {#await activityHistoryData}
- Loading ...
- {:then activities}
- {#if activities === undefined}
- Loading ...
- {:else}
-
- {#each fillMissingDays(activities) as activity}
- {#if activity.amount === 0}
- -
- {new Date(activity.date * 1000 + timezoneOffset).toDateString()}
-
- {/if}
- {/each}
-
- {/if}
- {/await}
- {/if}
-
diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index 53ace72b..1bf7a4a3 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -1,6 +1,9 @@
@@ -8,11 +11,14 @@
{#if tool === 0}
Select a tool to continue.
+{:else if tool === 2}
+
{:else if tool === 1}
{#await todaysCharacterBirthdays()}
--
cgit v1.2.3