diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index e87cc28..91a53f6 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,107 +1,27 @@ -import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; -import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +// 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 WhyChooseSection from './HomePage/sections/WhyChoose'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import ProductSection from './HomePage/sections/Product'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - } - title="Affordable Websites. Professional First Impressions." - description="Helping local businesses establish a strong online presence, reach a wider audience, and build credibility from the very first click. See your business online before you commit." - primaryButton={{ text: "Request a Demo Site", href: "/contact" }} - secondaryButton={{ text: "View Pricing", href: "/pricing" }} - leftItems={[ - { imageSrc: "https://storage.googleapis.com/webild/users/user_3FBrjtGbzyMvRYEvQVPY5Ow3xFu/uploaded-1781570000336-hz5fi44b.png?_wi=1" }, - { imageSrc: "http://img.b2bpic.net/free-photo/blockchain-technology-cartoon-illustration_23-2151572162.jpg?_wi=1" }, - { imageSrc: "http://img.b2bpic.net/free-photo/still-life-graphic-design-office_23-2151345425.jpg?_wi=1" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-internet-communication-network_23-2148779286.jpg" }, - { imageSrc: "http://img.b2bpic.net/free-photo/working-mobile-application_1098-17072.jpg" }, - { imageSrc: "http://img.b2bpic.net/free-vector/flat-design-geometric-pattern-landing-page_23-2149961036.jpg" } - ]} - rightItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/close-up-internet-communication-network_23-2148779278.jpg" }, - { imageSrc: "https://storage.googleapis.com/webild/users/user_3FBrjtGbzyMvRYEvQVPY5Ow3xFu/uploaded-1781570000336-hz5fi44b.png?_wi=2" }, - { imageSrc: "http://img.b2bpic.net/free-photo/businessman-using-tablet-with-digital-network-graphic-front-cityscape_9975-22113.jpg" }, - { imageSrc: "http://img.b2bpic.net/free-photo/blockchain-technology-cartoon-illustration_23-2151572162.jpg?_wi=2" }, - { imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=7asj9s" }, - { imageSrc: "http://img.b2bpic.net/free-photo/still-life-graphic-design-office_23-2151345425.jpg?_wi=2" } - ]} - /> - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..6e4f566 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,26 @@ +// 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 AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): 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..e2a1e01 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,40 @@ +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; + +export default function Hero() { + return ( +
+
+ +
+ +
+ + + + + +
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Product.tsx b/src/pages/HomePage/sections/Product.tsx new file mode 100644 index 0000000..8373e3c --- /dev/null +++ b/src/pages/HomePage/sections/Product.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "product" section. + +import React from 'react'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; + +export default function ProductSection(): 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..be2c444 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,27 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/WhyChoose.tsx b/src/pages/HomePage/sections/WhyChoose.tsx new file mode 100644 index 0000000..9230021 --- /dev/null +++ b/src/pages/HomePage/sections/WhyChoose.tsx @@ -0,0 +1,26 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "why-choose" section. + +import React from 'react'; +import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function WhyChooseSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}