diff --git a/src/index.css b/src/index.css index 2f142a3..5563d2d 100644 --- a/src/index.css +++ b/src/index.css @@ -8,12 +8,12 @@ --background: #f5faff; --card: #ffffff; --foreground: #001122; - --primary-cta: #15479c; + --primary-cta: #ea580c; --primary-cta-text: #f5faff; --secondary-cta: #ffffff; --secondary-cta-text: #001122; - --accent: #a8cce8; - --background-accent: #7ba3cf; + --accent: #fdba74; + --background-accent: #f97316; /* @layout/border-radius/rounded */ --radius: 0.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index f4c1834..ce76d78 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,310 +1,38 @@ -import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; -import { Award, Building2, CheckCircle, Layers, Paintbrush, Zap } 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. 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 ServicesSection from './HomePage/sections/Services'; +import GallerySection from './HomePage/sections/Gallery'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import LocationSection from './HomePage/sections/Location';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..295a29d --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,39 @@ +// 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 { Award, Building2, CheckCircle, Layers, Paintbrush, Zap } from "lucide-react"; +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..a7184ab --- /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..b6d3183 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,52 @@ +// 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/Gallery.tsx b/src/pages/HomePage/sections/Gallery.tsx new file mode 100644 index 0000000..2221eb0 --- /dev/null +++ b/src/pages/HomePage/sections/Gallery.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "gallery" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function GallerySection(): 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..ec01171 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,136 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; + +const primaryButton = { + text: "Free Estimate", + href: "#contact" +}; +const secondaryButton = { + text: "Our Services", + href: "#services" +}; +const leftItems = [ + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916306-ot0xaffo.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916308-6uc1r648.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916311-e0vskvd2.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916313-7eb8k1s3.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916314-7gr8bq0c.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916306-ot0xaffo.png" + } +]; +const rightItems = [ + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916314-7gr8bq0c.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916313-7eb8k1s3.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916311-e0vskvd2.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916308-6uc1r648.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916306-ot0xaffo.png" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3FVvm8wEysRPV9bC25IuulDoP5E/uploaded-1782173916314-7gr8bq0c.png" + } +]; + +type HeroSplitVerticalMarqueeProps = { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + leftItems: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; + rightItems: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; +}; + +const HeroInline = () => { + const duplicatedLeft = [...leftItems, ...leftItems, ...leftItems, ...leftItems]; + const duplicatedRight = [...rightItems, ...rightItems, ...rightItems, ...rightItems]; + + return ( +
+ +
+
+
+
+

{"Transforming Spaces, Elevating Lives"}

+
+ + + + + +
+
+
+
+ +
+
+
+ {duplicatedLeft.map((item, index) => ( +
+ +
+ ))} +
+
+ +
+
+ {duplicatedRight.map((item, index) => ( +
+ +
+ ))} +
+
+
+
+
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Location.tsx b/src/pages/HomePage/sections/Location.tsx new file mode 100644 index 0000000..8eed85a --- /dev/null +++ b/src/pages/HomePage/sections/Location.tsx @@ -0,0 +1,69 @@ +import React from 'react'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; + +export default function LocationSection(): React.JSX.Element { + return ( +
+ +
+
+
+ +
+ +
+
+ +

+ Contact OA General Contracting LLC for all your home improvement needs in Summerville, SC, and surrounding areas reaching a 60-mile radius. +

+ +

Areas we serve

+
+ Seabrook + Kingstre + Tomotley + Pine Needles + Cameron + Edisto + Varnville + Wilson + Sampit + Dale + Belser Crossroads + Blakely + Sheldon + Salters + Ehrhardt +
+
+
+ +
+ +
+
+
+
+
+
+ ); +} \ 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..de9e141 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,38 @@ +// 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 { Award, Building2, CheckCircle, Layers, Paintbrush, Zap } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): 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..997d49e --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,43 @@ +// 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 FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ServicesSection(): 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..bd5c0a7 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,52 @@ +// 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 TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}