From d2bfa4108c8fba9d6c12f5a1610aeeac1ce4eebf Mon Sep 17 00:00:00 2001 From: Anna Makarudze Date: Sun, 21 Dec 2025 19:03:27 +0100 Subject: [PATCH] Try to fix carousel issues: --- src/components/Carousel.astro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro index a27256f..8b29f36 100644 --- a/src/components/Carousel.astro +++ b/src/components/Carousel.astro @@ -1,6 +1,12 @@ --- -import '../scripts/swiper.js'; +import { register } from 'swiper/element/bundle'; +import swiperStyles from 'swiper/swiper-bundle.css?inline'; + +register(); --- +