From d6bf2575740c6c4bbf4d1a379dc61a369999d194 Mon Sep 17 00:00:00 2001 From: bytedream Date: Mon, 24 Nov 2025 00:32:08 +0100 Subject: [PATCH] add zoom to image carousel --- src/app/website/features/ImageCarousel.svelte | 40 ++++++++++++++++--- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/src/app/website/features/ImageCarousel.svelte b/src/app/website/features/ImageCarousel.svelte index a410e93..448538c 100644 --- a/src/app/website/features/ImageCarousel.svelte +++ b/src/app/website/features/ImageCarousel.svelte @@ -1,7 +1,7 @@
{#if currentImageIdx != null} @@ -62,17 +72,35 @@
{/if} + +{#if activeImageIdx != null} + setTimeout(() => (activeImageIdx = null), 300)} + > + + + + +{/if}