From 849751e6e912cc2b589b1c94a928247b1a9e59b5 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 23 Feb 2026 15:09:23 +0000 Subject: [PATCH] Update src/app/shop/page.tsx --- src/app/shop/page.tsx | 128 +++++++++++++----------------------------- 1 file changed, 39 insertions(+), 89 deletions(-) diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 6a27ba6..3d27110 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -13,108 +13,58 @@ function ShopPageContent() { isLoading, search, setSearch, + category, + setCategory, + sort, + setSort, filters, - cartOpen, - setCartOpen, - } = useProductCatalog({ basePath: "/shop" }); + categories, + } = useProductCatalog(); - if (isLoading) { - return ( - - - -
-

Loading products...

-
-
-
- ); - } + const navItems = [ + { name: "Home", id: "/" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" }, + ]; return ( - - -
- -
-
+ + Loading products...}> + +
); } export default function ShopPage() { return ( - + - + ); -} \ No newline at end of file +} -- 2.49.1