Merge version_3 into main #6

Merged
bender merged 2 commits from version_3 into main 2026-03-09 06:03:18 +00:00
2 changed files with 13 additions and 6 deletions

View File

@@ -1384,4 +1384,4 @@ export default function RootLayout({
</body>
</html>
);
}
}

View File

@@ -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 (
<ThemeProvider
defaultButtonVariant="icon-arrow"
@@ -124,16 +131,16 @@ export default function ArtisanBakeryPage() {
tagIcon={Star}
products={[
{
id: "1", name: "Artisan Sourdough Loaf", price: "$8.99", imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-bread-black-cloth_23-2148288112.jpg", imageAlt: "Artisan sourdough bread"
id: "1", name: "Artisan Sourdough Loaf", price: "$8.99", imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-bread-black-cloth_23-2148288112.jpg", imageAlt: "Artisan sourdough bread", onProductClick: () => 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() {
</div>
</ThemeProvider>
);
}
}