diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 6c333fd..9dca91f 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,247 +1,35 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards'; -import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; -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 HomeSection from './HomePage/sections/Home'; +import FeaturesSection from './HomePage/sections/Features'; +import MenuSection from './HomePage/sections/Menu'; +import OffersSection from './HomePage/sections/Offers'; +import MetricsSection from './HomePage/sections/Metrics'; +import ReviewsSection from './HomePage/sections/Reviews'; +import ContactSection from './HomePage/sections/Contact'; + + +import FaqSection from './HomePage/sections/Faq';export default function HomePage(): 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..771ad27 --- /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..bca5ab7 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,53 @@ +import Tag from '@/components/ui/Tag'; +import TextAnimation from '@/components/ui/TextAnimation'; +import ScrollReveal from '@/components/ui/ScrollReveal'; +import Accordion from '@/components/ui/Accordion'; + +export default function FaqSection() { + const faqItems = [ + { + title: "What is your delivery radius?", + content: "We deliver within a 10km radius of our Fatehpur location to ensure your pizza arrives hot and fresh." + }, + { + title: "Do you offer vegetarian or vegan options?", + content: "Yes! We have a wide variety of vegetarian pizzas, including our famous Veg Loaded and Tandoori Paneer. We also offer vegan cheese upon request." + }, + { + title: "What are your operating hours?", + content: "We are open every day from 11:00 AM to 1:30 AM, perfect for lunch, dinner, and late-night cravings." + }, + { + title: "Do you offer contactless delivery?", + content: "Absolutely. You can select 'No Contact Delivery' during checkout, and our rider will leave your order at your doorstep." + } + ]; + + return ( +
+
+
+ + + + + +

+ Everything you need to know before you order your favorite Martian Pizza. +

+
+
+ + + + +
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Features.tsx b/src/pages/HomePage/sections/Features.tsx new file mode 100644 index 0000000..b1ee0f0 --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,37 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "features" section. + +import React from 'react'; +import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Home.tsx b/src/pages/HomePage/sections/Home.tsx new file mode 100644 index 0000000..6ff187a --- /dev/null +++ b/src/pages/HomePage/sections/Home.tsx @@ -0,0 +1,41 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "home" section. + +import React from 'react'; +import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HomeSection(): 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..98b796a --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "menu" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MenuSection(): React.JSX.Element { + return ( + + ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..b53c2ee --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,34 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "metrics" section. + +import React from 'react'; +import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Offers.tsx b/src/pages/HomePage/sections/Offers.tsx new file mode 100644 index 0000000..b96eff4 --- /dev/null +++ b/src/pages/HomePage/sections/Offers.tsx @@ -0,0 +1,48 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "offers" section. + +import React from 'react'; +import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function OffersSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Reviews.tsx b/src/pages/HomePage/sections/Reviews.tsx new file mode 100644 index 0000000..426b9d2 --- /dev/null +++ b/src/pages/HomePage/sections/Reviews.tsx @@ -0,0 +1,52 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "reviews" section. + +import React from 'react'; +import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ReviewsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}