From 943a64509583ce50de87a0c5b42a73866f33065b Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Tue, 21 Apr 2026 23:40:52 +0200 Subject: [PATCH] feat(shopping): Einkaufslisten-Seite mit Empty-State --- src/routes/shopping-list/+page.svelte | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/routes/shopping-list/+page.svelte diff --git a/src/routes/shopping-list/+page.svelte b/src/routes/shopping-list/+page.svelte new file mode 100644 index 0000000..46368c2 --- /dev/null +++ b/src/routes/shopping-list/+page.svelte @@ -0,0 +1,49 @@ + + +
+

Einkaufsliste

+ {#if snapshot.recipes.length > 0} +

+ {snapshot.uncheckedCount} noch zu besorgen · {snapshot.recipes.length} Rezept{snapshot.recipes.length === 1 ? '' : 'e'} im Wagen +

+ {/if} +
+ +{#if loading} +

Lädt …

+{:else if snapshot.recipes.length === 0} +
+
+

Einkaufswagen ist leer.

+

Lege Rezepte auf der Wunschliste in den Wagen, um sie hier zu sehen.

+
+{/if} + +