From e74100b5f85da1cfe72562e65065cbee1539775e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 19:12:20 +0000 Subject: [PATCH] Bob AI: Added a new menu section with prices displayed in a single l --- src/pages/HomePage.tsx | 250 ++----------------- src/pages/HomePage/sections/About.tsx | 22 ++ src/pages/HomePage/sections/Contact.tsx | 27 ++ src/pages/HomePage/sections/Faq.tsx | 39 +++ src/pages/HomePage/sections/Hero.tsx | 48 ++++ src/pages/HomePage/sections/Menu.tsx | 96 +++++++ src/pages/HomePage/sections/MenuFeatures.tsx | 43 ++++ src/pages/HomePage/sections/Products.tsx | 57 +++++ src/pages/HomePage/sections/Testimonials.tsx | 57 +++++ 9 files changed, 413 insertions(+), 226 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Menu.tsx create mode 100644 src/pages/HomePage/sections/MenuFeatures.tsx create mode 100644 src/pages/HomePage/sections/Products.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 92005aa..1a248da 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,237 +1,35 @@ -import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import AboutSection from './HomePage/sections/About'; +import ProductsSection from './HomePage/sections/Products'; +import MenuFeaturesSection from './HomePage/sections/MenuFeatures'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import MenuSection from './HomePage/sections/Menu';export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ - + -
- - - -
+ -
- - - -
+ -
- - - -
+ + ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..8b51892 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,22 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "about" section. + +import React from 'react'; +import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..848329e --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,27 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contact" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..b4023e1 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,39 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "faq" section. + +import React from 'react'; +import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..d10f40e --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,48 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "hero" section. + +import React from 'react'; +import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Menu.tsx b/src/pages/HomePage/sections/Menu.tsx new file mode 100644 index 0000000..19c80c1 --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,96 @@ +import React from 'react'; +import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; + +const menuCategories = [ + { + category: "Baklava & Pastries", + items: [ + { name: "Carrot Sliced Baklava", price: "$10.70", description: "Flaky pastry, finely chopped pistachios, hint of carrot" }, + { name: "Tomato & Mozzarella Pide", price: "$9.51", description: "Baked flatbread, sliced tomatoes, melted mozzarella" }, + { name: "Spinach & Cheese Spiral Pie", price: "$9.51", description: "Flaky pastry, seasoned spinach, melted cheese" }, + { name: "Potato Spiral Pie", price: "$9.51", description: "Flaky pastry, seasoned mashed potatoes" }, + { name: "Mozzarella & Tricolor Pepper Pide", price: "$9.51", description: "Baked pide, melted mozzarella, tricolor peppers" }, + ] + }, + { + category: "Signature Desserts", + items: [ + { name: "Classic Kunafa", price: "$9.51", description: "Shredded phyllo, sweet cheese, crushed pistachios" }, + { name: "Dubai Strawberry Cup", price: "$19.03", description: "Fresh strawberries, crushed pistachios, rich sauce" }, + { name: "D&D Dubai Chocolate Bar", price: "$8.32", description: "Rich chocolate bar, delicate green icing drizzle" }, + { name: "Pistachio Cake Slice", price: "$11.89", description: "Signature pistachio cake" }, + { name: "Black Fudge Cake Slice", price: "$9.51", description: "Chocolate cake, creamy fudge filling, chocolate frosting" }, + ] + }, + { + category: "Matchas & Frappes", + items: [ + { name: "Strawberry Matcha", price: "$8.91", description: "Earthy matcha, sweet strawberry blend" }, + { name: "Salted Caramel Matcha", price: "$8.91", description: "Vibrant green matcha, rich salted caramel" }, + { name: "Pistachio Matcha", price: "$9.51", description: "Rich matcha, pistachio essence" }, + { name: "Dubai Chocolate Frappe", price: "$10.10", description: "Rich chocolate, whipped cream, chocolate & green syrup" }, + { name: "Pistachio Frappe", price: "$10.10", description: "Creamy pistachio, whipped cream, green syrup" }, + ] + }, + { + category: "Coffee & Lattes", + items: [ + { name: "Pistachio Spanish Latte", price: "$8.92", description: "Rich espresso, milk, pistachio flavor" }, + { name: "Dubai Strawberry Latte", price: "$9.51", description: "Creamy latte, strawberry essence" }, + { name: "Tiramisu Latte", price: "$8.32", description: "Rich espresso, creamy milk, tiramisu flavors" }, + { name: "Midnight Mocha", price: "$7.13", description: "Dark chocolate mocha" }, + { name: "Caramel Macchiato", price: "$8.32", description: "Espresso, steamed milk, caramel" }, + ] + } +]; + +export default function MenuSection() { + return ( + + ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/MenuFeatures.tsx b/src/pages/HomePage/sections/MenuFeatures.tsx new file mode 100644 index 0000000..a4c9382 --- /dev/null +++ b/src/pages/HomePage/sections/MenuFeatures.tsx @@ -0,0 +1,43 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "menu-features" section. + +import React from 'react'; +import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MenuFeaturesSection(): React.JSX.Element { + return ( + + ); +} diff --git a/src/pages/HomePage/sections/Products.tsx b/src/pages/HomePage/sections/Products.tsx new file mode 100644 index 0000000..b6f8806 --- /dev/null +++ b/src/pages/HomePage/sections/Products.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "products" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProductsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..1329daf --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonials" section. + +import React from 'react'; +import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1