From 9562cdeb95b5adbf9b9f8470a90a78111855938f Mon Sep 17 00:00:00 2001 From: bytedream Date: Fri, 3 Nov 2023 19:59:08 +0100 Subject: [PATCH] add simple dashboard on root admin route --- src/routes/admin/+layout.svelte | 16 +++++++----- src/routes/admin/+page.svelte | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/src/routes/admin/+layout.svelte b/src/routes/admin/+layout.svelte index d63f16e..36e55b8 100644 --- a/src/routes/admin/+layout.svelte +++ b/src/routes/admin/+layout.svelte @@ -52,13 +52,15 @@
diff --git a/src/routes/admin/+page.svelte b/src/routes/admin/+page.svelte index e69de29..4070068 100644 --- a/src/routes/admin/+page.svelte +++ b/src/routes/admin/+page.svelte @@ -0,0 +1,45 @@ + + +
+ {#each tabs as tab} + {#if tab.enabled} +
+ + + + {tab.name} +
+ {/if} + {/each} +