diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 217db65..1364f57 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,166 +1,29 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroBrand from '@/components/sections/hero/HeroBrand'; -import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; -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 FeaturedSection from './HomePage/sections/Featured'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSectionSection from './HomePage/sections/FaqSection'; +import ContactCtaSection from './HomePage/sections/ContactCta'; + + +import ProductDetailsSection from './HomePage/sections/ProductDetails';export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + + - + -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/ContactCta.tsx b/src/pages/HomePage/sections/ContactCta.tsx new file mode 100644 index 0000000..bf33a7e --- /dev/null +++ b/src/pages/HomePage/sections/ContactCta.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-cta" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactCtaSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/FaqSection.tsx b/src/pages/HomePage/sections/FaqSection.tsx new file mode 100644 index 0000000..eec84a2 --- /dev/null +++ b/src/pages/HomePage/sections/FaqSection.tsx @@ -0,0 +1,35 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "faq-section" section. + +import React from 'react'; +import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSectionSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Featured.tsx b/src/pages/HomePage/sections/Featured.tsx new file mode 100644 index 0000000..36beb6f --- /dev/null +++ b/src/pages/HomePage/sections/Featured.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "featured" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturedSection(): 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..38a4abd --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,28 @@ +// 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 HeroBrand from '@/components/sections/hero/HeroBrand'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/ProductDetails.tsx b/src/pages/HomePage/sections/ProductDetails.tsx new file mode 100644 index 0000000..0ff9bbe --- /dev/null +++ b/src/pages/HomePage/sections/ProductDetails.tsx @@ -0,0 +1,66 @@ +import React from 'react'; +import Button from '@/components/ui/Button'; +import { Check } from 'lucide-react'; + +export default function ProductDetailsSection() { + return ( +
+
+
+
+ Gym Shorts +
+
+
+

Premium Performance Shorts

+

$45.00

+

+ Engineered for maximum performance and everyday comfort. Featuring a 5-inch inseam, four-way stretch fabric, and hidden zipper pockets. +

+
+

Color

+
+ + + + +
+
+
+
+

Size

+ +
+
+ {["M", "L", "XL", "2XL", "3XL", "4XL", "5XL", "6XL", "7XL", "8XL"].map((size, i) => ( + + ))} +
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..ce4f39d --- /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 TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}