diff --git a/src/app/products/page.tsx b/src/app/products/page.tsx
index e2065c1..9bf24c9 100644
--- a/src/app/products/page.tsx
+++ b/src/app/products/page.tsx
@@ -1,66 +1,31 @@
"use client";
import { Suspense } from "react";
-import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
-import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
+import ProductCardFour from '@/components/sections/product/ProductCardFour';
import { useProductCatalog } from "@/hooks/useProductCatalog";
-// Define common navigation items for sub-pages to maintain consistency
-const ALL_NAV_ITEMS_SUB_PAGES = [
+const navItemsForSubPages = [
{ name: "Home", id: "/" },
{ name: "Products", id: "/products" },
- { name: "Shop", id: "/shop" },
- { name: "Blog", id: "/blog" },
{ name: "About", id: "/#about" },
{ name: "Testimonials", id: "/#testimonials" },
- { name: "FAQs", id: "/#faqs" }
+ { name: "FAQs", id: "/#faqs" },
+ { name: "Contact", id: "/#contact" },
];
function ProductsPageContent() {
- const {
- products,
- isLoading,
- search,
- setSearch,
- filters,
- } = useProductCatalog({ basePath: "/products" });
+ const { products, isLoading } = useProductCatalog({ basePath: "/products" });
- if (isLoading) {
- return (
-
-
-
-
-
-
-
- Loading products...
-
-
-
-
- );
- }
+ const mappedProducts = products.map(p => ({
+ id: p.id,
+ name: p.name,
+ price: p.price,
+ imageSrc: p.imageSrc,
+ imageAlt: p.imageAlt || p.name,
+ variant: p.category || 'Standard',
+ }));
return (
-
-
-
+
+
+
+ {isLoading ? (
+
+ ) : (
-
+ )}
);
}