From 51da0a6e032f11693821793735b5e60d05987538 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 14 Jun 2026 10:20:40 +0000 Subject: [PATCH] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 149 ++++++++--------------------------------- 1 file changed, 29 insertions(+), 120 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index ae0203d..2ec7f58 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -16,13 +16,9 @@ export default function HomePage() { brand="St George Coffee" description="Your local independent coffee shop, serving ethically sourced beans and artisan pastries in a cozy, welcoming atmosphere." primaryButton={{ - text: "View Menu", - href: "#menu", - }} + text: "View Menu", href: "#menu"}} secondaryButton={{ - text: "Find Us", - href: "#contact", - }} + text: "Find Us", href: "#contact"}} imageSrc="http://img.b2bpic.net/free-photo/decoration-aroma-blend-latte-mug_1232-3949.jpg" /> @@ -48,54 +44,19 @@ export default function HomePage() { description="From our morning pastries to our specialty roasts, discover our daily favorites." items={[ { - id: "p1", - title: "Artisan Croissants", - description: "Buttery, flaky, fresh every morning.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/croissants-with-cup-tea-pan-with-towel-wooden-table_176474-8246.jpg", - }, + title: "Artisan Croissants", description: "Buttery, flaky, fresh every morning.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/croissants-with-cup-tea-pan-with-towel-wooden-table_176474-8246.jpg"}, { - id: "p2", - title: "Single-Origin Pour Over", - description: "Small-batch roasted perfection.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/front-view-cup-coffee_23-2148354694.jpg", - }, + title: "Single-Origin Pour Over", description: "Small-batch roasted perfection.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/front-view-cup-coffee_23-2148354694.jpg"}, { - id: "p3", - title: "Morning Muffins", - description: "Locally sourced seasonal fruit.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-muffins-tray_23-2148414035.jpg", - }, + title: "Morning Muffins", description: "Locally sourced seasonal fruit.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-muffins-tray_23-2148414035.jpg"}, { - id: "p4", - title: "Signature Cappuccino", - description: "Velvety foam and rich espresso.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/latte-coffee-cup_74190-105.jpg", - }, + title: "Signature Cappuccino", description: "Velvety foam and rich espresso.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/latte-coffee-cup_74190-105.jpg"}, { - id: "p5", - title: "Gourmet Sandwiches", - description: "Hand-made with locally sourced bread.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/corn-salad-chicken-lettuce-pepper-sesame-side-view_141793-1769.jpg", - }, + title: "Gourmet Sandwiches", description: "Hand-made with locally sourced bread.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/corn-salad-chicken-lettuce-pepper-sesame-side-view_141793-1769.jpg"}, { - id: "p6", - title: "Refreshing Iced Tea", - description: "Seasonal infusions for hot days.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-black-tea-breakfast-set-table_141793-3592.jpg", - }, + title: "Refreshing Iced Tea", description: "Seasonal infusions for hot days.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-black-tea-breakfast-set-table_141793-3592.jpg"}, { - id: "p7", - title: "Daily Specials", - description: "Rotating selection of house treats.", - href: "#", - imageSrc: "http://img.b2bpic.net/free-photo/milky-cocktail-glass-milk-table_114579-4259.jpg", - }, + title: "Daily Specials", description: "Rotating selection of house treats.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/milky-cocktail-glass-milk-table_114579-4259.jpg"}, ]} /> @@ -109,33 +70,16 @@ export default function HomePage() { description="Join our community and enjoy perks every time you visit." plans={[ { - tag: "Starter", - price: "Free", - description: "Basic rewards program.", - features: [ - "1 point per drink", - "Birthday treat", - ], + tag: "Starter", price: "Free", description: "Basic rewards program.", features: [ + "1 point per drink", "Birthday treat"], }, { - tag: "Regular", - price: "$15/mo", - description: "For true enthusiasts.", - features: [ - "Double points", - "Monthly exclusive blend", - "Free bag of beans", - ], + tag: "Regular", price: "$15/mo", description: "For true enthusiasts.", features: [ + "Double points", "Monthly exclusive blend", "Free bag of beans"], }, { - tag: "Connoisseur", - price: "$30/mo", - description: "The ultimate coffee experience.", - features: [ - "Unlimited drip", - "Priority seating", - "Quarterly tastings", - ], + tag: "Connoisseur", price: "$30/mo", description: "The ultimate coffee experience.", features: [ + "Unlimited drip", "Priority seating", "Quarterly tastings"], }, ]} /> @@ -149,15 +93,9 @@ export default function HomePage() { title="The St George Difference" description="We stand for quality and ethical practices in every cup." negativeItems={[ - "Mass-produced chains", - "Generic coffee beans", - "Fast food mindset", - ]} + "Mass-produced chains", "Generic coffee beans", "Fast food mindset"]} positiveItems={[ - "Ethical local roasters", - "Small-batch quality", - "Community-first focus", - ]} + "Ethical local roasters", "Small-batch quality", "Community-first focus"]} /> @@ -170,45 +108,20 @@ export default function HomePage() { description="What our neighborhood says about us." testimonials={[ { - id: "1", - name: "Sarah J.", - role: "Designer", - company: "Local Agency", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/person-paying-using-nfc-technology_23-2149893776.jpg", - }, + name: "Sarah J.", role: "Designer", company: "Local Agency", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/person-paying-using-nfc-technology_23-2149893776.jpg"}, { - id: "2", - name: "Mark D.", - role: "Architect", - company: "Independent", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-with-tablet_23-2149927583.jpg", - }, + name: "Mark D.", role: "Architect", company: "Independent", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-with-tablet_23-2149927583.jpg"}, { - id: "3", - name: "Emily R.", - role: "Writer", - company: "Freelance", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-cafe-drinking-coffee_1303-30736.jpg", - }, + name: "Emily R.", role: "Writer", company: "Freelance", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/woman-sitting-cafe-drinking-coffee_1303-30736.jpg"}, { - id: "4", - name: "John K.", - role: "Teacher", - company: "Local School", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/girl-drawing-cup-coffee-notebook_158595-661.jpg", - }, + name: "John K.", role: "Teacher", company: "Local School", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/girl-drawing-cup-coffee-notebook_158595-661.jpg"}, { - id: "5", - name: "Lucy H.", - role: "Student", - company: "University", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/couple-enjoying-drinks-restaurant_23-2149269141.jpg", - }, + name: "Lucy H.", role: "Student", company: "University", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/couple-enjoying-drinks-restaurant_23-2149269141.jpg"}, ]} /> @@ -220,13 +133,9 @@ export default function HomePage() { tag="Visit Us" text="Find us on the corner of St George’s Street. Open Mon–Sun, 7am–6pm." primaryButton={{ - text: "Get Directions", - href: "#", - }} + text: "Get Directions", href: "#"}} secondaryButton={{ - text: "Newsletter Signup", - href: "#", - }} + text: "Newsletter Signup", href: "#"}} /> -- 2.49.1