diff --git a/assets/js/theme/common/carousel.js b/assets/js/theme/common/carousel.js index 2728dcd0..0e69fa6b 100644 --- a/assets/js/theme/common/carousel.js +++ b/assets/js/theme/common/carousel.js @@ -63,7 +63,7 @@ export default function startSwiper(context) { allowSlidePrev: true, slidesPerView: 1, speed: 500, - loop: false, + loop: true, spaceBetween: 48, autoplay: { delay: 3000, diff --git a/assets/scss/components/_components.scss b/assets/scss/components/_components.scss index 7ba2c483..d5fd150e 100644 --- a/assets/scss/components/_components.scss +++ b/assets/scss/components/_components.scss @@ -56,3 +56,4 @@ @import 'addresses-list'; @import 'wishlist-list'; @import 'alert'; +@import 'swiper'; diff --git a/assets/scss/components/_swiper.scss b/assets/scss/components/_swiper.scss new file mode 100644 index 00000000..95605533 --- /dev/null +++ b/assets/scss/components/_swiper.scss @@ -0,0 +1,4 @@ +.c-swiper__btn-next, +.c-swiper__btn-prev { + cursor: pointer; +}