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..5c21d88 --- /dev/null +++ b/src/pages/HomePage/sections/MenuFeatures.tsx @@ -0,0 +1,125 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; + +const steps = [ + { + tag: "Atmosphere", + title: "Modern Elegance", + subtitle: "Stylish & Comfortable", + description: "Enjoy our cozy seating with free WiFi and a dog-friendly patio.", + imageSrc: "http://img.b2bpic.net/free-photo/baklava-traditional-sweetness-served-with-tea_141793-516.jpg" + }, + { + tag: "Drinks", + title: "Specialty Beverages", + subtitle: "Crafted Perfection", + description: "From lavender matchas to Spanish lattes, our drinks are designed to pair perfectly.", + imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-creamy-dessert-with-red-sliced-strawberries-cup-tea-light-pink-background-dessert-ice-cream-berry-cream-sweet-fruit_140725-56064.jpg" + }, + { + tag: "Pastries", + title: "Authentic Sweets", + subtitle: "Traditional Roots", + description: "We specialize in baklava, turkish delight, and other time-honored classics.", + imageSrc: "http://img.b2bpic.net/free-vector/gradient-bookmark-template_23-2149329840.jpg" + } +]; + +type StepItem = { + tag: string; + title: string; + subtitle: string; + description: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesDetailedStepsProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + steps: StepItem[]; +} + +const MenuFeaturesInline = () => { + return ( +
+
+
+
+

{"Our Highlights"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ {steps.map((step, index) => { + const stepNumber = String(index + 1).padStart(2, "0"); + return ( + +
+
+
+

{step.tag}

+
+

{step.title}

+
+
+
+

{step.subtitle}

+

{step.description}

+
+
+
+ {stepNumber} +
+ +
+
+ + ); + })} +
+
+
+ ); +}; + +export default function MenuFeaturesSection() { + 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 ( +
+ + + +
+ ); +}