diff --git a/src/components/HeroAndLiquidGlass.astro b/src/components/HeroAndLiquidGlass.astro index 254f23b..f7e6f6c 100644 --- a/src/components/HeroAndLiquidGlass.astro +++ b/src/components/HeroAndLiquidGlass.astro @@ -431,7 +431,7 @@ const heroTemplates = [ let currentIdx = 0; const totalSlides = slides.length; - function updateSlider(newIdx) { + function updateSlider(newIdx: number) { // Hide current slide slides[currentIdx].classList.remove('opacity-100', 'scale-100', 'pointer-events-auto'); slides[currentIdx].classList.add('opacity-0', 'scale-95', 'pointer-events-none');