diff --git a/src/app/page.tsx b/src/app/page.tsx
index 636f2d6..a72baf1 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -10,8 +10,15 @@ import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import { MapPin } from "lucide-react";
+import { useRouter } from "next/navigation";
export default function LandingPage() {
+ const router = useRouter();
+
+ const handleProductClick = (id: string) => {
+ router.push(`/products/${id}`);
+ };
+
return (
handleProductClick("p1")
+ },
{
id: "p2", brand: "Outdoor", name: "Seasonal Petunias", price: "12€", rating: 5,
- reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/scucculent-flower_1372-187.jpg"},
+ reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/scucculent-flower_1372-187.jpg", onProductClick: () => handleProductClick("p2")
+ },
{
id: "p3", brand: "Indoor", name: "Ceramic Succulents", price: "18€", rating: 4,
- reviewCount: "8", imageSrc: "http://img.b2bpic.net/free-photo/plants-stairs-interior-design_23-2149155762.jpg"},
+ reviewCount: "8", imageSrc: "http://img.b2bpic.net/free-photo/plants-stairs-interior-design_23-2149155762.jpg", onProductClick: () => handleProductClick("p3")
+ },
]}
title="Explore Our Collection"
description="Browse our curated selection of indoor plants, seasonal flowers, and unique landscaping finds."
@@ -147,4 +157,4 @@ export default function LandingPage() {
);
-}
+}
\ No newline at end of file
diff --git a/src/app/product/monstera/page.tsx b/src/app/product/monstera/page.tsx
new file mode 100644
index 0000000..8ca6a8c
--- /dev/null
+++ b/src/app/product/monstera/page.tsx
@@ -0,0 +1,39 @@
+"use client";
+
+import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
+import ReactLenis from "lenis/react";
+import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
+import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
+import ProductDetailCard from '@/components/ecommerce/productDetail/ProductDetailCard';
+
+export default function MonsteraPage() {
+ return (
+
+
+
+
+
+
+
+ );
+}
\ No newline at end of file
diff --git a/src/app/product/petunias/page.tsx b/src/app/product/petunias/page.tsx
new file mode 100644
index 0000000..45ec491
--- /dev/null
+++ b/src/app/product/petunias/page.tsx
@@ -0,0 +1,39 @@
+"use client";
+
+import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
+import ReactLenis from "lenis/react";
+import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
+import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
+import ProductDetailCard from '@/components/ecommerce/productDetail/ProductDetailCard';
+
+export default function PetuniasPage() {
+ return (
+
+
+
+
+
+
+
+ );
+}
\ No newline at end of file