From a7d33aed397b04218002312cfaf8653cab0e04bd Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:26:20 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 30878b5..99d180a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -13,6 +13,11 @@ import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; import { CheckCircle } from 'lucide-react'; export default function LandingPage() { + const handleProductClick = (productId: string, productName: string) => { + console.log(`Added to cart: ${productName}`); + alert(`${productName} added to cart!`); + }; + return ( handleProductClick("1", "Mango Pickle") }, { - id: "2", name: "Green Chili Pickle", price: "$7.99", variant: "Spicy • Fiery Heat", imageSrc: "http://img.b2bpic.net/free-photo/close-up-little-jar-with-pickled-cucumbers_329181-1306.jpg", imageAlt: "Green Chili Pickle" + id: "2", name: "Green Chili Pickle", price: "$7.99", variant: "Spicy • Fiery Heat", imageSrc: "http://img.b2bpic.net/free-photo/close-up-little-jar-with-pickled-cucumbers_329181-1306.jpg", imageAlt: "Green Chili Pickle", onProductClick: () => handleProductClick("2", "Green Chili Pickle") }, { - id: "3", name: "Mixed Vegetable Pickle", price: "$9.99", variant: "Assorted • Complex Flavors", imageSrc: "http://img.b2bpic.net/free-photo/honey-with-nuts-glass-cans_1398-3447.jpg", imageAlt: "Mixed Vegetable Pickle" + id: "3", name: "Mixed Vegetable Pickle", price: "$9.99", variant: "Assorted • Complex Flavors", imageSrc: "http://img.b2bpic.net/free-photo/honey-with-nuts-glass-cans_1398-3447.jpg", imageAlt: "Mixed Vegetable Pickle", onProductClick: () => handleProductClick("3", "Mixed Vegetable Pickle") } ]} title="Our Signature Pickles" -- 2.49.1