Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ecfef1844 | |||
| 398ab92b64 | |||
| 6861d7fbdb | |||
| 64c73186b9 | |||
| a233621374 | |||
| a85be7dcc8 | |||
| 9e7ea2e726 | |||
| 437c4bbb0e | |||
| b67412452d |
1422
src/app/layout.tsx
1422
src/app/layout.tsx
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
@@ -261,7 +268,7 @@ export default function ArtisanBakeryPage() {
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm
|
||||
title="Get in Touch"
|
||||
description="Ready to order? Have questions about our products or services? Fill out the form below and our team will get back to you within 24 hours. We'd love to hear from you!"
|
||||
description="Fill out the form below to place your order or request a custom cake—we'll confirm within 24 hours."
|
||||
inputs={[
|
||||
{ name: "fullName", type: "text", placeholder: "Your Full Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Your Email Address", required: true },
|
||||
@@ -295,4 +302,4 @@ export default function ArtisanBakeryPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user