diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 8412f8e..72d2873 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -2,22 +2,104 @@ import AboutText from '@/components/sections/about/AboutText'; import ContactCta from '@/components/sections/contact/ContactCta'; import FaqSimple from '@/components/sections/faq/FaqSimple'; import FeaturesTaggedCards from '@/components/sections/features/FeaturesTaggedCards'; -import HeroSplit from '@/components/sections/hero/HeroSplit'; import MetricsMinimalCards from '@/components/sections/metrics/MetricsMinimalCards'; import ProductVariantCards from '@/components/sections/product/ProductVariantCards'; import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import SectionErrorBoundary from '@/components/ui/SectionErrorBoundary'; +import Button from '@/components/ui/Button'; +import HeroBackgroundSlot from '@/components/ui/HeroBackgroundSlot'; +import TextAnimation from '@/components/ui/TextAnimation'; +import ImageOrVideo from '@/components/ui/ImageOrVideo'; +import ScrollReveal from '@/components/ui/ScrollReveal'; + +// ── Inlined from src/components/sections/hero/HeroSplit.tsx (was ) +// You can now edit InlinedHeroSplit freely below — it is a local copy and +// will not affect any other page that imports the original HeroSplit. +type HeroSplitProps = { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const InlinedHeroSplit = ({ + tag, + title, + description, + primaryButton, + secondaryButton, + imageSrc, + videoSrc, +}: HeroSplitProps) => { + return ( +
+ +
+
+
+
+

{tag}

+
+ + + + +
+ ★★★★★ +

(120 Reviews)

+
+
+ ★★★★★ +

(120 Reviews)

+
+
+ ★★★★★ +

(120 Reviews)

+
+
+ ★★★★★ +

(120 Reviews)

+
+ +
+
+
+
+ + + + +
+
+ ); +}; export default function HomePage() { return ( <>
-