Update src/app/shop/page.tsx

This commit is contained in:
2026-02-12 14:04:17 +00:00
parent 07de439fe3
commit 9011356ca3

View File

@@ -13,9 +13,12 @@ export default function ShopPage() {
isLoading,
search,
setSearch,
category,
setCategory,
sort,
setSort,
filters,
cartOpen,
setCartOpen
categories
} = useProductCatalog({ basePath: "/shop" });
if (isLoading) {
@@ -45,7 +48,7 @@ export default function ShopPage() {
{"name":"Contact","id":"contact"},
{"name":"Shop","id":"/shop"}
]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
button={{ text: "Cart", href: "/shop" }}
/>
</div>
<main className="min-h-screen flex items-center justify-center pt-20">
@@ -94,7 +97,7 @@ export default function ShopPage() {
{"name":"Contact","id":"contact"},
{"name":"Shop","id":"/shop"}
]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
button={{ text: "Cart", href: "/shop" }}
/>
</div>
<div id="productCatalog" data-section="productCatalog">