This commit is contained in:
amirhosein.ashourloo
2026-08-20 09:29:01 +03:30
parent 5f9ab22fd0
commit 82e73c47cf
9 changed files with 73 additions and 57 deletions
+5 -5
View File
@@ -19,18 +19,18 @@ export default function Categories({ categoryColumns }: { categoryColumns: Categ
if (items.length === 0) return null;
return (
<section className="py-10 md:py-14">
<section className="pt-5 md:pt-7 pb-10 md:pb-14">
<div className="boxed">
<SectionHeading kicker="Categories" title="دسته‌بندی محصولات" />
<div className="bg-gold rounded-2xl md:rounded-3xl py-8 px-4 md:px-8">
<Swiper
spaceBetween={10}
slidesPerView={4}
slidesPerView={2}
breakpoints={{
480: { slidesPerView: 5 },
640: { slidesPerView: 6 },
1024: { slidesPerView: 9, spaceBetween: 14 },
768: { slidesPerView: 3 },
1024: { slidesPerView: 6, spaceBetween: 14 },
1280: { slidesPerView: 8, spaceBetween: 14 },
}}
>
{items.map((cat, i) => (