From 203b9650a9fab84d29199b7754366ec6d37de0f8 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 24 Mar 2026 22:00:43 +0000 Subject: [PATCH] Update src/app/product/[id]/page.tsx --- src/app/product/[id]/page.tsx | 451 ++++++++++------------------------ 1 file changed, 123 insertions(+), 328 deletions(-) diff --git a/src/app/product/[id]/page.tsx b/src/app/product/[id]/page.tsx index a1d380b..7c74e9e 100644 --- a/src/app/product/[id]/page.tsx +++ b/src/app/product/[id]/page.tsx @@ -2,345 +2,140 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import FeatureCardTen from '@/components/sections/feature/FeatureCardTen'; -import FooterBase from '@/components/sections/footer/FooterBase'; import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; -import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; -import ProductDetailCard from '@/components/ecommerce/productDetail/ProductDetailCard'; -import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen'; -import { Star } from "lucide-react"; +// Placeholder imports for components that might not be in the registry but are implied by errors. +// These should be replaced with actual component imports if they existed in the project structure. +import ProductDisplay from '@/components/core/ProductDisplay'; +import FeatureListDisplay from '@/components/core/FeatureListDisplay'; +import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; + +export default function ProductDetailPage() { + const navItems = [ + { + name: "Home", id: "/" + }, + { + name: "Collection", id: "/collection" + }, + { + name: "About", id: "/about" + }, + { + name: "Contact", id: "/contact" + } + ]; + + // Dummy product data to trigger variant errors + const productData = { + id: "prod-1", name: "The Chronos Masterpiece", description: "Experience unparalleled precision and exquisite craftsmanship. Each Horologium Lux timepiece is a testament to enduring legacy and innovative design.", price: "$55,000", images: [ + { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BPSYpjXlk69WrIECU6nXnUWdiQ/a-hyper-realistic-3d-render-of-a-luxury--1774389483545-ca8bc4e7.png", alt: "Product Image 1" }, + ], + variants: [ + { label: "Size", options: ["S", "M", "L"], selected: "M", onChange: () => {} }, + { label: "Color", options: ["Red", "Blue", "Green"], selected: "Blue", onChange: () => {} }, + { label: "Material", options: ["Steel", "Gold"], selected: "Steel", onChange: () => {} }, + ], + }; + + const features = [ + { title: "Precision Engineering" }, + { title: "Sapphire Crystal" }, + { title: "Water Resistance" }, + ]; + + const techSpecs = [ + { title: "Automatic Movement" }, + { title: "40mm Case Diameter" }, + { title: "Power Reserve: 72 hours" }, + ]; + + const materialFeatures = [ + { title: "Ethically Sourced Gold" }, + { title: "Hypoallergenic Stainless Steel" }, + { title: "Hand-stitched Leather Strap" }, + ]; -export default function LandingPage() { return ( - + -
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
- +
+ +
- +
); -- 2.49.1