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"