fix(front)

This commit is contained in:
2026-06-10 17:55:44 +03:00
parent ef5ee1ef99
commit a0481f74b2
2 changed files with 54 additions and 44 deletions
+6 -4
View File
@@ -40,7 +40,7 @@ export default function Shop() {
return (
<PageLayout>
<main className="px-6 md:px-16 grow w-full">
<main className="px-6 md:px-16 grow w-full ">
<h1 className="text-2xl text-white text-medium md:mt-10">
Ассортимент
</h1>
@@ -49,9 +49,11 @@ export default function Shop() {
activeCategory={activeCategory}
onSelectCategory={setActiveCategory}
/>
{filteredItems.map((item) => (
<CardItem key={item.id} item={item} onAddToCart={handleAddToCart} />
))}
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 mb-4">
{filteredItems.map((item) => (
<CardItem key={item.id} item={item} onAddToCart={handleAddToCart} />
))}
</div>
</main>
</PageLayout>
);