From 398ab92b64fb6ead0f3d03a985c7006672b6b715 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 9 Mar 2026 06:03:13 +0000 Subject: [PATCH 1/2] Update src/app/layout.tsx --- src/app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.49.1 From 9ecfef18445e709d8f492d1548bc4384f8f63a33 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 9 Mar 2026 06:03:13 +0000 Subject: [PATCH 2/2] Update src/app/page.tsx --- src/app/page.tsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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 -- 2.49.1