From 88aae6083a7d1f8194d410d9fc02b7c1f070d018 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 31 Jan 2026 15:09:42 -0800 Subject: [PATCH] Add save slot carousel and improve empty states - Add reusable Carousel component with arrow navigation, drag-to-scroll, and click-to-scroll-into-view functionality - Replace static save slot list with horizontal carousel - Add empty state with image when no save files exist - Add prompt state when saves exist but none is selected - Reset selected slot when entering Save Editor page --- src/lib/Carousel.svelte | 184 ++++++++++++++++++++++++++++++++++ src/lib/SaveEditorPage.svelte | 114 ++++++++++++++++----- 2 files changed, 272 insertions(+), 26 deletions(-) create mode 100644 src/lib/Carousel.svelte diff --git a/src/lib/Carousel.svelte b/src/lib/Carousel.svelte new file mode 100644 index 0000000..c0804fb --- /dev/null +++ b/src/lib/Carousel.svelte @@ -0,0 +1,184 @@ + + + + + diff --git a/src/lib/SaveEditorPage.svelte b/src/lib/SaveEditorPage.svelte index 3546d7c..c5faa00 100644 --- a/src/lib/SaveEditorPage.svelte +++ b/src/lib/SaveEditorPage.svelte @@ -1,6 +1,7 @@