Update src/app/products/page.tsx

This commit is contained in:
2026-05-01 14:45:20 +00:00
parent 285fcf357c
commit 064c1d5f4b

View File

@@ -23,8 +23,9 @@ export default function ProductsPage() {
<ReactLenis root>
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/#hero" },
{ name: "Home", id: "/" },
{ name: "Products", id: "/products" },
{ name: "Product Detail", id: "/product-detail" },
{ name: "About", id: "/#about" },
{ name: "Contact", id: "/#contact" },
]}
@@ -38,7 +39,7 @@ export default function ProductsPage() {
gridVariant="three-columns-all-equal-width"
useInvertedBackground={false}
products={[
{ id: "p1", brand: "VoltShield", name: "PureSine Inverter 5kW", price: "$899", rating: 5, reviewCount: "128", imageSrc: "http://img.b2bpic.net/free-photo/interior-view-steel-factory_1359-185.jpg" },
{ id: "p1", brand: "VoltShield", name: "PureSine Inverter 5kW", price: "$899", rating: 5, reviewCount: "128", imageSrc: "http://img.b2bpic.net/free-photo/interior-view-steel-factory_1359-185.jpg", onProductClick: () => window.location.href = "/product-detail" },
{ id: "p2", brand: "VoltShield", name: "Lithium Pro 10kWh Battery", price: "$3,200", rating: 5, reviewCount: "89", imageSrc: "http://img.b2bpic.net/free-photo/minimalist-tech-setup-with-smartwatch_58702-17228.jpg" },
{ id: "p3", brand: "SunEdge", name: "High-Efficiency Solar Panel 450W", price: "$250", rating: 4, reviewCount: "250", imageSrc: "http://img.b2bpic.net/free-photo/building-glass-windows-with-sky_1122-1002.jpg" },
]}