update 16/01

This commit is contained in:
2026-01-16 17:04:10 +07:00
parent b921d73f73
commit ddb60bd5f9
9 changed files with 269 additions and 89 deletions

View File

@@ -53,11 +53,13 @@ export default function ProductCategories() {
modules={[Navigation, Pagination, Autoplay]}
spaceBetween={24}
slidesPerView={5}
loop={categoryProducts[0].list?.length > 5}
autoplay={{
delay: 3000,
disableOnInteraction: false,
}}
// loop={categoryProducts[0].list?.length > 5}
loop={false}
// autoplay={{
// delay: 3000,
// disableOnInteraction: false,
// }}
autoplay={false}
navigation={{
prevEl: '.custom-nav .swiper-button-prev',
nextEl: '.custom-nav .swiper-button-next',