diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index abae33c..802d7ac 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,147 +1,28 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import TeamGlassCards from '@/components/sections/team/TeamGlassCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in the sibling sections/ folder (one file per section). +// Edit those section files directly. Non-block content (wrappers, +// non-inlinable sections) is preserved inline; extracted section blocks +// become component refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import ServicesSection from './HomePage/sections/Services'; +import AboutSection from './HomePage/sections/About'; +import TeamSection from './HomePage/sections/Team'; +import CtaSection from './HomePage/sections/Cta'; + +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..46570c8 --- /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 AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Cta.tsx b/src/pages/HomePage/sections/Cta.tsx new file mode 100644 index 0000000..6664995 --- /dev/null +++ b/src/pages/HomePage/sections/Cta.tsx @@ -0,0 +1,28 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "cta" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CtaSection(): 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..2888d5c --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,49 @@ +// 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/Services.tsx b/src/pages/HomePage/sections/Services.tsx new file mode 100644 index 0000000..e685e56 --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,53 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "services" section. + +import React from 'react'; +import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ServicesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Team.tsx b/src/pages/HomePage/sections/Team.tsx new file mode 100644 index 0000000..2a6fa79 --- /dev/null +++ b/src/pages/HomePage/sections/Team.tsx @@ -0,0 +1,68 @@ +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import TextAnimation from "@/components/ui/TextAnimation"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import ScrollReveal from "@/components/ui/ScrollReveal"; + +type TeamMember = { + name: string; + role: string; + imageSrc?: string; +}; + +export default function TeamSection() { + const team: TeamMember[] = [ + { + name: "Alex Rivera", + role: "Principal Architect", + }, + { + name: "Jordan Lee", + role: "Lead Designer", + }, + { + name: "Taylor Smith", + role: "Project Manager", + }, + { + name: "Casey Jones", + role: "Interior Specialist", + } + ]; + + return ( +
+
+
+
+

Team

+
+ +
+ + + + {team.map((member, i) => ( +
+ {member.imageSrc && ( +
+ +
+ )} +
+

{member.name}

+

{member.role}

+
+
+ ))} +
+
+
+
+ ); +} \ No newline at end of file