From 6b4d7cd4d1fb2d1c2550f90a75c7445ca2c1e79a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 13 Sep 2023 01:57:58 -0700 Subject: refactor(history): move to history route --- src/routes/activity-history/+page.svelte | 94 -------------------------------- src/routes/history/+page.svelte | 94 ++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+), 94 deletions(-) delete mode 100644 src/routes/activity-history/+page.svelte create mode 100644 src/routes/history/+page.svelte (limited to 'src/routes') diff --git a/src/routes/activity-history/+page.svelte b/src/routes/activity-history/+page.svelte deleted file mode 100644 index 2bb0f129..00000000 --- a/src/routes/activity-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} -

- {/if} - {/await} - {/if} -
diff --git a/src/routes/history/+page.svelte b/src/routes/history/+page.svelte new file mode 100644 index 00000000..2bb0f129 --- /dev/null +++ b/src/routes/history/+page.svelte @@ -0,0 +1,94 @@ + + +
+ 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} +

+ {/if} + {/await} + {/if} +
-- cgit v1.2.3