Update src/pages/HomePage.tsx

This commit is contained in:
2026-06-13 10:55:26 +00:00
parent 3e180337d3
commit 2515014e41

View File

@@ -20,25 +20,18 @@ export default function HomePage() {
title="Freshly Baked Goodness, Delivered Daily"
description="Handcrafted breads, pastries, and custom cakes made with premium ingredients. Order online or visit us today."
primaryButton={{
text: "Order Now",
href: "#contact",
}}
text: "Order Now", href: "#contact"}}
secondaryButton={{
text: "Visit Us",
href: "#about",
}}
text: "Visit Us", href: "#about"}}
items={[
{
text: "Organic Ingredients",
icon: Leaf,
text: "Organic Ingredients", icon: Leaf,
},
{
text: "Handcrafted Daily",
icon: Award,
text: "Handcrafted Daily", icon: Award,
},
{
text: "Local Sourcing",
icon: Building,
text: "Local Sourcing", icon: Building,
},
]}
imageSrc="https://images.pexels.com/photos/30263735/pexels-photo-30263735.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
@@ -62,32 +55,17 @@ export default function HomePage() {
description="We blend traditional techniques with modern creativity to bring you the best."
items={[
{
title: "Premium Ingredients",
description: "Locally sourced flour and organic butter.",
tags: [
"Organic",
"Quality",
],
imageSrc: "https://images.pexels.com/photos/30926952/pexels-photo-30926952.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Premium Ingredients", description: "Locally sourced flour and organic butter.", tags: [
"Organic", "Quality"],
imageSrc: "https://images.pexels.com/photos/30926952/pexels-photo-30926952.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Artisanal Techniques",
description: "Long fermentation for deeper flavor.",
tags: [
"Traditional",
"Authentic",
],
imageSrc: "https://images.pexels.com/photos/5964565/pexels-photo-5964565.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Artisanal Techniques", description: "Long fermentation for deeper flavor.", tags: [
"Traditional", "Authentic"],
imageSrc: "https://images.pexels.com/photos/5964565/pexels-photo-5964565.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Fresh Every Morning",
description: "Baked fresh every single morning.",
tags: [
"Fresh",
"Daily",
],
imageSrc: "https://images.pexels.com/photos/11288937/pexels-photo-11288937.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Fresh Every Morning", description: "Baked fresh every single morning.", tags: [
"Fresh", "Daily"],
imageSrc: "https://images.pexels.com/photos/11288937/pexels-photo-11288937.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
]}
/>
</SectionErrorBoundary>
@@ -101,47 +79,19 @@ export default function HomePage() {
description="Explore our wide range of handcrafted goods."
items={[
{
title: "Sourdough",
description: "Classic rustic loaf.",
href: "#",
imageSrc: "https://images.pexels.com/photos/36202913/pexels-photo-36202913.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Sourdough", description: "Classic rustic loaf.", href: "#", imageSrc: "https://images.pexels.com/photos/36202913/pexels-photo-36202913.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Croissants",
description: "Buttery and flakey.",
href: "#",
imageSrc: "https://images.pexels.com/photos/5336345/pexels-photo-5336345.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Croissants", description: "Buttery and flakey.", href: "#", imageSrc: "https://images.pexels.com/photos/5336345/pexels-photo-5336345.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Custom Cakes",
description: "For your special days.",
href: "#",
imageSrc: "https://images.pexels.com/photos/37233703/pexels-photo-37233703.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Custom Cakes", description: "For your special days.", href: "#", imageSrc: "https://images.pexels.com/photos/37233703/pexels-photo-37233703.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Fruit Tarts",
description: "Seasonal fresh fruit.",
href: "#",
imageSrc: "https://images.pexels.com/photos/6939751/pexels-photo-6939751.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Fruit Tarts", description: "Seasonal fresh fruit.", href: "#", imageSrc: "https://images.pexels.com/photos/6939751/pexels-photo-6939751.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Muffins",
description: "Blueberry and bran.",
href: "#",
imageSrc: "https://images.pexels.com/photos/37185473/pexels-photo-37185473.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Muffins", description: "Blueberry and bran.", href: "#", imageSrc: "https://images.pexels.com/photos/37185473/pexels-photo-37185473.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Cookies",
description: "Chocolate chip goodness.",
href: "#",
imageSrc: "https://images.pexels.com/photos/947175/pexels-photo-947175.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Cookies", description: "Chocolate chip goodness.", href: "#", imageSrc: "https://images.pexels.com/photos/947175/pexels-photo-947175.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
title: "Cinnamon Rolls",
description: "Warm cinnamon spice.",
href: "#",
imageSrc: "https://images.pexels.com/photos/351962/pexels-photo-351962.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
title: "Cinnamon Rolls", description: "Warm cinnamon spice.", href: "#", imageSrc: "https://images.pexels.com/photos/351962/pexels-photo-351962.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
]}
/>
</SectionErrorBoundary>
@@ -155,23 +105,11 @@ export default function HomePage() {
description="Numbers behind our passion."
metrics={[
{
value: "15k+",
title: "Loaves Baked",
description: "Total loaves shared with locals.",
imageSrc: "https://images.pexels.com/photos/27165968/pexels-photo-27165968.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
value: "15k+", title: "Loaves Baked", description: "Total loaves shared with locals.", imageSrc: "https://images.pexels.com/photos/27165968/pexels-photo-27165968.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
value: "500+",
title: "Custom Cakes",
description: "Beautiful celebrations created.",
imageSrc: "https://images.pexels.com/photos/8015248/pexels-photo-8015248.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
value: "500+", title: "Custom Cakes", description: "Beautiful celebrations created.", imageSrc: "https://images.pexels.com/photos/8015248/pexels-photo-8015248.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
value: "28",
title: "Local Farmers",
description: "Partnerships that empower.",
imageSrc: "https://images.pexels.com/photos/33608777/pexels-photo-33608777.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
value: "28", title: "Local Farmers", description: "Partnerships that empower.", imageSrc: "https://images.pexels.com/photos/33608777/pexels-photo-33608777.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
]}
/>
</SectionErrorBoundary>
@@ -185,40 +123,20 @@ export default function HomePage() {
description="See what our regulars have to say about our bakes."
testimonials={[
{
name: "Sarah Johnson",
role: "Local Resident",
company: "Neighbor",
rating: 5,
imageSrc: "https://images.pexels.com/photos/23996669/pexels-photo-23996669.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
name: "Sarah Johnson", role: "Local Resident", company: "Neighbor", rating: 5,
imageSrc: "https://images.pexels.com/photos/23996669/pexels-photo-23996669.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
name: "Mark Miller",
role: "Catering Client",
company: "Office Manager",
rating: 5,
imageSrc: "https://images.pexels.com/photos/4259701/pexels-photo-4259701.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
name: "Mark Miller", role: "Catering Client", company: "Office Manager", rating: 5,
imageSrc: "https://images.pexels.com/photos/4259701/pexels-photo-4259701.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
name: "Emily Chen",
role: "Foodie",
company: "Reviewer",
rating: 5,
imageSrc: "https://images.pexels.com/photos/7447279/pexels-photo-7447279.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
name: "Emily Chen", role: "Foodie", company: "Reviewer", rating: 5,
imageSrc: "https://images.pexels.com/photos/7447279/pexels-photo-7447279.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
name: "David Wilson",
role: "Loyal Customer",
company: "Regular",
rating: 5,
imageSrc: "https://images.pexels.com/photos/5910745/pexels-photo-5910745.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
name: "David Wilson", role: "Loyal Customer", company: "Regular", rating: 5,
imageSrc: "https://images.pexels.com/photos/5910745/pexels-photo-5910745.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
{
name: "Jane Doe",
role: "Gift Giver",
company: "Client",
rating: 5,
imageSrc: "https://images.pexels.com/photos/6831711/pexels-photo-6831711.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
name: "Jane Doe", role: "Gift Giver", company: "Client", rating: 5,
imageSrc: "https://images.pexels.com/photos/6831711/pexels-photo-6831711.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"},
]}
/>
</SectionErrorBoundary>
@@ -229,15 +147,9 @@ export default function HomePage() {
<SocialProofMarquee
tag="Proudly Serving"
title="Local Partners"
description="We partner with the best in town."
names={[
"City Cafe",
"Morning Coffee Co.",
"Urban Bistro",
"The Daily Grind",
"Downtown Deli",
"Main Street Bakery",
"Green Market",
]}
"City Cafe", "Morning Coffee Co.", "Urban Bistro", "The Daily Grind", "Downtown Deli", "Main Street Bakery", "Green Market"]}
/>
</SectionErrorBoundary>
</div>
@@ -250,17 +162,11 @@ export default function HomePage() {
description="Everything you need to know about our bakery."
items={[
{
question: "Do you offer gluten-free?",
answer: "Yes, we have a selection of GF items.",
},
question: "Do you offer gluten-free?", answer: "Yes, we have a selection of GF items."},
{
question: "Can I pre-order online?",
answer: "Yes, orders are ready for same-day pickup.",
},
question: "Can I pre-order online?", answer: "Yes, orders are ready for same-day pickup."},
{
question: "Do you deliver?",
answer: "We offer local delivery on orders over $50.",
},
question: "Do you deliver?", answer: "We offer local delivery on orders over $50."},
]}
imageSrc="https://images.pexels.com/photos/33608752/pexels-photo-33608752.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
/>
@@ -273,13 +179,9 @@ export default function HomePage() {
tag="Ready to Eat?"
text="Place your order now for fresh pickup."
primaryButton={{
text: "Shop Online",
href: "#",
}}
text: "Shop Online", href: "#"}}
secondaryButton={{
text: "Contact Support",
href: "#",
}}
text: "Contact Support", href: "#"}}
/>
</SectionErrorBoundary>
</div>