diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 10e58bf..df3076e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1384,4 +1384,4 @@ export default function RootLayout({ ); -} +} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index e2e5f96..1293804 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -15,6 +15,13 @@ import FooterCard from '@/components/sections/footer/FooterCard'; import { Sparkles, Heart, Award, Star, Gift, Crown, MessageCircle, Facebook, Instagram, Twitter, Phone, Croissant } from 'lucide-react'; export default function ArtisanBakeryPage() { + const handleProductClick = (productId: string, productName: string, productPrice: string) => { + // Direct ordering handler - can be extended for cart or checkout + console.log(`Product clicked: ${productName} (${productId}) - ${productPrice}`); + // Example: Open checkout or add to cart + alert(`Added ${productName} to cart!`); + }; + return ( handleProductClick("1", "Artisan Sourdough Loaf", "$8.99") }, { - id: "2", name: "Butter Croissants (Box of 6)", price: "$12.50", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fresh-croissants_23-2148628323.jpg", imageAlt: "Fresh butter croissants" + id: "2", name: "Butter Croissants (Box of 6)", price: "$12.50", imageSrc: "http://img.b2bpic.net/free-photo/top-view-fresh-croissants_23-2148628323.jpg", imageAlt: "Fresh butter croissants", onProductClick: () => handleProductClick("2", "Butter Croissants (Box of 6)", "$12.50") }, { - id: "3", name: "Assorted Artisan Donuts", price: "$9.99", imageSrc: "http://img.b2bpic.net/free-photo/some-donuts-with-various-topping_140725-6470.jpg", imageAlt: "Colorful glazed donuts" + id: "3", name: "Assorted Artisan Donuts", price: "$9.99", imageSrc: "http://img.b2bpic.net/free-photo/some-donuts-with-various-topping_140725-6470.jpg", imageAlt: "Colorful glazed donuts", onProductClick: () => handleProductClick("3", "Assorted Artisan Donuts", "$9.99") }, { - id: "4", name: "Custom Celebration Cake", price: "Starting at $35.00", imageSrc: "http://img.b2bpic.net/free-photo/cupcake-still-life_23-2148097840.jpg", imageAlt: "Elegant custom cake" + id: "4", name: "Custom Celebration Cake", price: "Starting at $35.00", imageSrc: "http://img.b2bpic.net/free-photo/cupcake-still-life_23-2148097840.jpg", imageAlt: "Elegant custom cake", onProductClick: () => handleProductClick("4", "Custom Celebration Cake", "Starting at $35.00") }, ]} gridVariant="three-columns-all-equal-width" @@ -295,4 +302,4 @@ export default function ArtisanBakeryPage() { ); -} +} \ No newline at end of file