diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro new file mode 100644 index 0000000..a27256f --- /dev/null +++ b/src/components/Carousel.astro @@ -0,0 +1,13 @@ +--- +import '../scripts/swiper.js'; +--- + + + Item 1 + Item 2 + Item 3 + \ No newline at end of file diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro index 9def57f..b51b1b3 100644 --- a/src/components/Sidebar.astro +++ b/src/components/Sidebar.astro @@ -2,6 +2,7 @@ const { currentOS } = Astro.props; import 'swiper/css'; import 'swiper/element/bundle'; +import Carousel from '../components/Carousel.astro'; ---