diff --git a/apps/frontend/src/lib/components/ChartSkeleton.svelte b/apps/frontend/src/lib/components/ChartSkeleton.svelte new file mode 100644 index 0000000..888547a --- /dev/null +++ b/apps/frontend/src/lib/components/ChartSkeleton.svelte @@ -0,0 +1,11 @@ +
+
+ {#each [60, 85, 45, 100, 70, 55, 90, 40] as h} +
+ {/each} +
+
+
diff --git a/apps/frontend/src/lib/components/StatCard.svelte b/apps/frontend/src/lib/components/StatCard.svelte index 64e4410..f33b18f 100644 --- a/apps/frontend/src/lib/components/StatCard.svelte +++ b/apps/frontend/src/lib/components/StatCard.svelte @@ -5,16 +5,22 @@ label, value, sub, - icon + icon, + href }: { label: string; value: string | number; sub?: string; icon?: Snippet; + href?: string; } = $props(); -
+
{label} {#if icon} @@ -25,4 +31,4 @@ {#if sub}
{sub}
{/if} -
+
diff --git a/apps/frontend/src/routes/+page.svelte b/apps/frontend/src/routes/+page.svelte index 1013d32..7a305cc 100644 --- a/apps/frontend/src/routes/+page.svelte +++ b/apps/frontend/src/routes/+page.svelte @@ -1,5 +1,6 @@