From 8ed19746831edb318dd9283713b7de4a9d471331 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Fri, 29 Nov 2024 21:01:37 +0200 Subject: [PATCH] Add some state of doughnut charts to main page --- src/routes/+page.svelte | 86 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index ff8feb5..9bda20a 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1 +1,85 @@ -

Hello, World!

+ + +{#if error} +

{error}

+{/if} + + +
+ {#each configs as _, index} +
+
+ + {data[index].label} +
+
+ {/each} +
+ +