From fb0da5f7fd02483919fe9dd3c7d8d5955bbd2935 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 14 Jun 2026 13:29:33 +0000 Subject: [PATCH] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 128 +++++++++-------------------------------- 1 file changed, 26 insertions(+), 102 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 36fe26e..569e7e2 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,15 +4,8 @@ import FeaturesImageBento from '@/components/sections/features/FeaturesImageBent import HeroBillboard from '@/components/sections/hero/HeroBillboard'; import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialMarqueeOverlayCardsBase from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; +import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; import { CheckCircle, Heart, Sparkles } from "lucide-react"; -import { FC, ComponentProps } from "react"; - -const TestimonialMarqueeOverlayCards = TestimonialMarqueeOverlayCardsBase as unknown as FC< - Omit, "testimonials"> & { - testimonials: Array>; - } ->; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { @@ -25,13 +18,9 @@ export default function HomePage() { title="Your next favourite chapter starts here." description="Premium brunch. Exceptional coffee. Gerakas, Athens." primaryButton={{ - text: "See Our Menu", - href: "#menu", - }} + text: "See Our Menu", href: "#menu"}} secondaryButton={{ - text: "Find Us", - href: "#location", - }} + text: "Find Us", href: "#location"}} imageSrc="http://img.b2bpic.net/free-photo/high-angle-coffee-cup-flowers_23-2150249799.jpg" /> @@ -56,40 +45,19 @@ export default function HomePage() { description="Artisan dishes crafted with passion." items={[ { - title: "Club Sandwich", - description: "Possibly the best you've ever had.", - imageSrc: "http://img.b2bpic.net/free-photo/side-view-club-sandwich-with-french-fries-board_141793-4868.jpg", - }, + title: "Club Sandwich", description: "Possibly the best you've ever had.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-club-sandwich-with-french-fries-board_141793-4868.jpg"}, { - title: "Pancakes", - description: "Stack. Drizzle. Repeat. From €7.", - imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-eats-pancakes-with-strawberries-red-black-currants-cup-tea-blue-surface_141793-17835.jpg", - }, + title: "Pancakes", description: "Stack. Drizzle. Repeat. From €7.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-eats-pancakes-with-strawberries-red-black-currants-cup-tea-blue-surface_141793-17835.jpg"}, { - title: "Cinnamon Roll", - description: "Topped with a cream so good we won't apologise.", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-ready-bake-cinnamon-rolls_23-2148904663.jpg", - }, + title: "Cinnamon Roll", description: "Topped with a cream so good we won't apologise.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-ready-bake-cinnamon-rolls_23-2148904663.jpg"}, { - title: "Bagel with Salmon", - description: "Brunch done properly.", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-sandwich-slate-with-salmon-hard-boiled-egg_23-2148893616.jpg", - }, + title: "Bagel with Salmon", description: "Brunch done properly.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sandwich-slate-with-salmon-hard-boiled-egg_23-2148893616.jpg"}, { - title: "Cappuccino", - description: "The coffee that earns the compliment.", - imageSrc: "http://img.b2bpic.net/free-photo/ceramic-cup-cappuccino-saucer-table_23-2147898246.jpg", - }, + title: "Cappuccino", description: "The coffee that earns the compliment.", imageSrc: "http://img.b2bpic.net/free-photo/ceramic-cup-cappuccino-saucer-table_23-2147898246.jpg"}, { - title: "Fresh Fruit Juice", - description: "Squeezed. Not stored.", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-smoothie-fruits_23-2147717589.jpg", - }, + title: "Fresh Fruit Juice", description: "Squeezed. Not stored.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smoothie-fruits_23-2147717589.jpg"}, { - title: "View Full Menu", - description: "Explore our complete selection.", - imageSrc: "http://img.b2bpic.net/free-photo/sandwich-cup-coffee-table_53876-63270.jpg", - }, + title: "View Full Menu", description: "Explore our complete selection.", imageSrc: "http://img.b2bpic.net/free-photo/sandwich-cup-coffee-table_53876-63270.jpg"}, ]} /> @@ -103,45 +71,20 @@ export default function HomePage() { description="See why our guests keep returning." testimonials={[ { - id: "1", - name: "Eleni P.", - role: "Foodie", - company: "Local", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/girl-sitting-table-holding-mobile-phone-indoors_171337-17096.jpg", - }, + name: "Eleni P.", role: "Foodie", company: "Local", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/girl-sitting-table-holding-mobile-phone-indoors_171337-17096.jpg"}, { - id: "2", - name: "Giorgos K.", - role: "Regular", - company: "Local", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/girl-having-orange-juice-restaurant_23-2148172695.jpg", - }, + name: "Giorgos K.", role: "Regular", company: "Local", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/girl-having-orange-juice-restaurant_23-2148172695.jpg"}, { - id: "3", - name: "Maria S.", - role: "Visitor", - company: "Tourist", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/positive-shorthaired-lady-posing-yellow-couch-cafe-brunette-girl-jeans-beige-jacket-jeans-laughs-has-fun-inside_197531-29435.jpg", - }, + name: "Maria S.", role: "Visitor", company: "Tourist", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/positive-shorthaired-lady-posing-yellow-couch-cafe-brunette-girl-jeans-beige-jacket-jeans-laughs-has-fun-inside_197531-29435.jpg"}, { - id: "4", - name: "Kostas A.", - role: "Customer", - company: "Local", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman_23-2149061559.jpg", - }, + name: "Kostas A.", role: "Customer", company: "Local", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman_23-2149061559.jpg"}, { - id: "5", - name: "Sofia L.", - role: "Customer", - company: "Local", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-businessman-showing-thumb-up_1262-3024.jpg", - }, + name: "Sofia L.", role: "Customer", company: "Local", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-businessman-showing-thumb-up_1262-3024.jpg"}, ]} /> @@ -155,20 +98,11 @@ export default function HomePage() { description="Crafted with intention and warmth." metrics={[ { - icon: Sparkles, - title: "Beautiful Space", - value: "Designed", - }, + icon: "Sparkles", title: "Beautiful Space", value: "Designed"}, { - icon: CheckCircle, - title: "Quality Ingredients", - value: "Fresh", - }, + icon: "CheckCircle", title: "Quality Ingredients", value: "Fresh"}, { - icon: Heart, - title: "Warm Service", - value: "Genuine", - }, + icon: "Heart", title: "Warm Service", value: "Genuine"}, ]} /> @@ -181,13 +115,7 @@ export default function HomePage() { title="Follow our story @chapterone" description="Moods and moments from our café." names={[ - "Coffee Rituals", - "Brunch Vibes", - "Artisan Pastries", - "Cozy Corners", - "Golden Hour", - "Morning Joy", - ]} + "Coffee Rituals", "Brunch Vibes", "Artisan Pastries", "Cozy Corners", "Golden Hour", "Morning Joy"]} /> @@ -198,13 +126,9 @@ export default function HomePage() { tag="Location" text="Chapter ONE, Gerakas, Athens. Easy access, free parking, no excuses. Open daily from 08:00." primaryButton={{ - text: "Get Directions", - href: "https://maps.google.com", - }} + text: "Get Directions", href: "https://maps.google.com"}} secondaryButton={{ - text: "Contact Us", - href: "mailto:hello@chapterone.gr", - }} + text: "Contact Us", href: "mailto:hello@chapterone.gr"}} />