From a7e86fdbf894255d38b45c5ef9ff3675f0aae26e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 19:09:30 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 042c2ca..e9b613f 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,7 +4,16 @@ import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroBrand from '@/components/sections/hero/HeroBrand'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import TestimonialRatingCardsOriginal from '@/components/sections/testimonial/TestimonialRatingCards'; + +type OriginalProps = Parameters[0]; +type OriginalTestimonial = NonNullable[0]; + +const TestimonialRatingCards = ( + props: Omit & { + testimonials: (OriginalTestimonial & { id?: string | number })[] + } +) => ; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { -- 2.49.1 From 2c19f6b60819a1684f9b8adb44cfc2a5f38d82eb Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 14 Jun 2026 19:09:37 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 306 ++++++++++++----------------------------- 1 file changed, 87 insertions(+), 219 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index e9b613f..ef39463 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,243 +4,111 @@ import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroBrand from '@/components/sections/hero/HeroBrand'; -import TestimonialRatingCardsOriginal from '@/components/sections/testimonial/TestimonialRatingCards'; - -type OriginalProps = Parameters[0]; -type OriginalTestimonial = NonNullable[0]; - -const TestimonialRatingCards = ( - props: Omit & { - testimonials: (OriginalTestimonial & { id?: string | number })[] - } -) => ; +import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { return ( <> -
- +
+ - -
+ brand="Mayl Cafe" + description="Crafting artisanal moments through premium specialty coffee, sourced with integrity and brewed with passion." + primaryButton={{ + text: "Discover Menu", href: "#menu"}} + secondaryButton={{ + text: "Our Locations", href: "#contact"}} + imageSrc="http://img.b2bpic.net/free-photo/cocktail-wooden-table-restaurant_23-2147936121.jpg" + /> +
+
-
- +
+ - -
+ title="The Art of Specialty Coffee" + primaryButton={{ + text: "Read Our Story", href: "#"}} + /> +
+
- -
- +
+ - -
+ tag="Wellness" + title="Healthy & Natural" + description="Refreshing beverages designed for a balanced lifestyle." + items={[ + { title: "Green Cleanse", description: "Cold-pressed juices with leafy greens.", tags: ["Natural", "Healthy"], imageSrc: "http://img.b2bpic.net/free-photo/delicious-kombucha-bottles-peach_23-2149757687.jpg" }, + { title: "Hibiscus Chill", description: "Refreshing floral tea infusion.", tags: ["Refreshing", "Caffeine-free"], imageSrc: "http://img.b2bpic.net/free-photo/front-view-coffee-machine-with-loads-cups_23-2148523034.jpg" }, + { title: "Almond Refresher", description: "House-made nut milk based elixir.", tags: ["Organic", "Nut-based"], imageSrc: "http://img.b2bpic.net/free-photo/man-drinking-matcha-tea_23-2150163392.jpg" } + ]} + /> +
+
-
- +
+ - -
+ tag="Reviews" + title="Loved by the Community" + description="Hear what our regulars have to say about their experience at Mayl Cafe." + testimonials={[ + { name: "Sarah Ahmed", role: "Coffee Enthusiast", quote: "The most balanced flat white in the city. Truly artisanal.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/low-angle-friends-having-laugh_23-2148395406.jpg" }, + { name: "Khalid Al-Omar", role: "Regular Visitor", quote: "Mayl Cafe's attention to detail in their manual brews is unmatched.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-asian-woman-with-tablet-standing-front-cafe-entrance-inviting-guests-customers_1258-199014.jpg" }, + { name: "Layla Nour", role: "Designer", quote: "My favorite creative space. The aesthetic and the coffee are perfect.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-making-coffee_23-2150354579.jpg" }, + { name: "Omar Fakhri", role: "Food Critic", quote: "A masterclass in specialty coffee sourcing.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-tablet_23-2148968938.jpg" }, + { name: "Hana Sami", role: "Wellness Blogger", quote: "Their healthy infusions are exactly what I need on a busy afternoon.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-barista-black-apron-holding-coffee-cup-standing-yellow-background_1258-170856.jpg" } + ]} + /> +
+
-
- +
+ - -
+ tag="Support" + title="Frequently Asked Questions" + description="Everything you need to know about our cafe." + categories={[ + { name: "General", items: [{ question: "Are you open on weekends?", answer: "Yes, we are open 7 days a week from 7 AM to 12 AM." }, { question: "Do you offer delivery?", answer: "Yes, through our delivery app partners." }] }, + { name: "Coffee", items: [{ question: "Where are your beans sourced?", answer: "We work directly with farms to ensure ethical, high-quality sourcing." }, { question: "Can I buy beans at home?", answer: "Yes, check our retail section for fresh roasted bags." }] } + ]} + /> +
+
-
- +
+ - -
+ tag="Visit Us" + text="Visit us at our flagship cafe for an authentic specialty coffee experience." + primaryButton={{ text: "WhatsApp Us", href: "#" }} + secondaryButton={{ text: "View on Maps", href: "#" }} + /> +
+
); } -- 2.49.1