diff --git a/src/app/product/[id]/page.tsx b/src/app/product/[id]/page.tsx new file mode 100644 index 0000000..6b20a17 --- /dev/null +++ b/src/app/product/[id]/page.tsx @@ -0,0 +1,107 @@ +"use client" + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import HeroOverlay from '@/components/sections/hero/HeroOverlay'; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; +import { ShoppingCart, ChevronLeft } from 'lucide-react'; +import { useParams } from 'next/navigation'; + +const productData: { [key: string]: any } = { + "1": { + id: "1", name: "Power Hoodie", price: "$49.99", description: "Premium cotton blend hoodie with embroidered OAC logo. Perfect for representing your power level in style.", imageSrc: "http://img.b2bpic.net/free-photo/young-girl-with-pink-hairs-street-style-outfits_114579-17694.jpg", imageAlt: "Power Hoodie Premium Cotton Blend", variant: "Premium Cotton Blend", details: "100% comfort, 80% cotton, 20% polyester. Available in XS to 3XL." + }, + "2": { + id: "2", name: "Elite T-Shirt", price: "$24.99", description: "Limited edition graphic tee featuring exclusive OAC tournament artwork.", imageSrc: "http://img.b2bpic.net/free-photo/blondish-girl-holding-chalkboard_23-2147925908.jpg", imageAlt: "Elite T-Shirt Limited Edition", variant: "Limited Edition Print", details: "100% certified organic cotton. Sustainable production. Unisex sizing." + }, + "3": { + id: "3", name: "Champion Cap", price: "$19.99", description: "Adjustable baseball cap with embroidered champion badge. Show off your elite status.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-blue-light_23-2149478939.jpg", imageAlt: "Champion Cap Adjustable Fit", variant: "Adjustable Fit", details: "Breathable mesh back. Curved bill. Adjustable snapback closure." + } +}; + +export default function ProductPage() { + const params = useParams(); + const productId = params?.id as string; + const product = productData[productId] || productData["1"]; + + return ( + + + +
+ +
+ +
+
+
+
+

{product.name}

+

{product.price}

+
+
+

Product Details

+

{product.details}

+
+
+ + +
+
+
+
+ + +
+ ); +} \ No newline at end of file