diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 6e07b07..7170f3b 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -1,13 +1,22 @@ "use client"; import { Suspense } from "react"; -import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import Link from 'next/link'; import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; import FooterMedia from '@/components/sections/footer/FooterMedia'; import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog"; import { useProductCatalog } from "@/hooks/useProductCatalog"; +const navItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "/#about" }, + { name: "Features", id: "/#features" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "FAQ", id: "/#faq" }, + { name: "Contact", id: "/#contact" }, +]; + function ShopPageContent() { const { products, @@ -17,54 +26,6 @@ function ShopPageContent() { filters, } = useProductCatalog({ basePath: "/shop" }); - if (isLoading) { - return ( - - - -
-

Loading products...

-
- -
-
- ); - } - return ( - - + + {isLoading ? ( +
+

Loading products...

+
+ ) : (
- -
+ )} +
); }