fix(front)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user