diff --git a/src/app/product/[id]/page.tsx b/src/app/product/[id]/page.tsx new file mode 100644 index 0000000..eef868d --- /dev/null +++ b/src/app/product/[id]/page.tsx @@ -0,0 +1,42 @@ +"use client"; + +import { useParams } from "next/navigation"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ProductDetailCard from "@/components/ecommerce/productDetail/ProductDetailCard"; + +export default function ProductDetailPage() { + const params = useParams(); + + return ( + +
+ console.log(v) } + ]} + quantity={{ label: "Quantity", options: ["1", "2", "3"], selected: "1", onChange: (v) => console.log(v) }} + buttons={[ + { text: "Add to Cart", onClick: () => alert("Added to cart") }, + { text: "Back to Shop", href: "/" } + ]} + /> +
+
+ ); +} \ No newline at end of file