diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 5bddd39..7d21a20 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,272 +1,28 @@ -import AboutText from '@/components/sections/about/AboutText'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesAttributeCards from '@/components/sections/features/FeaturesAttributeCards'; -import FeaturesBento from '@/components/sections/features/FeaturesBento'; -import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import TestimonialAvatarCard from '@/components/sections/testimonial/TestimonialAvatarCard'; -import { Apple, ChefHat, Cookie, CookingPot, Egg, Heart, Leaf, Microwave, Milk, Sparkles, Thermometer, Timer, Weight, Wheat, Circle } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//sections/.tsx. Edit the section +// files directly; this shell only fixes render order. -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 WhyUsSection from './HomePage/sections/WhyUs'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import MetricsSection from './HomePage/sections/Metrics'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + +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..c13aa17 --- /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 AboutText from '@/components/sections/about/AboutText'; +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..5fc5884 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,23 @@ +// 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..6b94adb --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,32 @@ +// 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 FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; +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..73007fd --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,72 @@ +import React from 'react'; +import TextAnimation from '@/components/ui/TextAnimation'; +import ScrollReveal from '@/components/ui/ScrollReveal'; +import Button from '@/components/ui/Button'; +import Tag from '@/components/ui/Tag'; + +export default function HeroSection() { + return ( +
+
+
+ + + + + +

+ Artisan breads, pastries, and custom cakes crafted with premium ingredients. Order online or visit us today. +

+
+ +
+ +
+
+ +
+ Colorful macarons on a plate +
+
+ +
+ Baker's hands kneading fresh dough +
+
+ +
+ Assorted breakfast pastries +
+
+
+
+ +
+ Slicing a loaf of crusty bread +
+
+ +
+ Freshly baked artisan bread loaf +
+
+ +
+ Fruit tarts with fresh berries +
+
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..e0b8e43 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,32 @@ +// 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 MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; +import { Apple, ChefHat, Cookie, CookingPot, Egg, Heart, Leaf, Microwave, Milk, Sparkles, Thermometer, Timer, Weight, Wheat, Circle } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): 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..1d90548 --- /dev/null +++ b/src/pages/HomePage/sections/Products.tsx @@ -0,0 +1,83 @@ +// 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 FeaturesAttributeCards from '@/components/sections/features/FeaturesAttributeCards'; +import { Apple, ChefHat, Cookie, CookingPot, Egg, Heart, Leaf, Microwave, Milk, Sparkles, Thermometer, Timer, Weight, Wheat, Circle } from "lucide-react"; +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..169f5d4 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,35 @@ +// 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 TestimonialAvatarCard from '@/components/sections/testimonial/TestimonialAvatarCard'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/WhyUs.tsx b/src/pages/HomePage/sections/WhyUs.tsx new file mode 100644 index 0000000..f9fa3a2 --- /dev/null +++ b/src/pages/HomePage/sections/WhyUs.tsx @@ -0,0 +1,60 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "why-us" section. + +import React from 'react'; +import FeaturesBento from '@/components/sections/features/FeaturesBento'; +import { Apple, ChefHat, Cookie, CookingPot, Egg, Heart, Leaf, Microwave, Milk, Sparkles, Thermometer, Timer, Weight, Wheat, Circle } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function WhyUsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}