From 10bf7d0357d46be312e23ac4eb436dfc3067c934 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Tue, 16 Jun 2026 15:47:40 +0000 Subject: [PATCH] Bob AI: Replaced hero section with HeroBillboardBrand --- src/pages/HomePage.tsx | 174 ++----------------- src/pages/HomePage/sections/Cta.tsx | 27 +++ src/pages/HomePage/sections/Hero.tsx | 18 ++ src/pages/HomePage/sections/Intro.tsx | 37 ++++ src/pages/HomePage/sections/ProductsGrid.tsx | 57 ++++++ src/pages/HomePage/sections/Stats.tsx | 34 ++++ 6 files changed, 191 insertions(+), 156 deletions(-) create mode 100644 src/pages/HomePage/sections/Cta.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Intro.tsx create mode 100644 src/pages/HomePage/sections/ProductsGrid.tsx create mode 100644 src/pages/HomePage/sections/Stats.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 36d1dab..b487b80 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,165 +1,27 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; -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 StatsSection from './HomePage/sections/Stats'; +import IntroSection from './HomePage/sections/Intro'; +import ProductsGridSection from './HomePage/sections/ProductsGrid'; +import CtaSection from './HomePage/sections/Cta'; + +export default function HomePage(): 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..92aa664 --- /dev/null +++ b/src/pages/HomePage/sections/Cta.tsx @@ -0,0 +1,27 @@ +// 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..def737c --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,18 @@ +// Created by add_section_from_catalog (HeroBillboardBrand). + +import React from 'react'; +import HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand'; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Intro.tsx b/src/pages/HomePage/sections/Intro.tsx new file mode 100644 index 0000000..4f6dc10 --- /dev/null +++ b/src/pages/HomePage/sections/Intro.tsx @@ -0,0 +1,37 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "intro" section. + +import React from 'react'; +import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function IntroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/ProductsGrid.tsx b/src/pages/HomePage/sections/ProductsGrid.tsx new file mode 100644 index 0000000..41351e4 --- /dev/null +++ b/src/pages/HomePage/sections/ProductsGrid.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "products-grid" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProductsGridSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Stats.tsx b/src/pages/HomePage/sections/Stats.tsx new file mode 100644 index 0000000..03fb8de --- /dev/null +++ b/src/pages/HomePage/sections/Stats.tsx @@ -0,0 +1,34 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "stats" section. + +import React from 'react'; +import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function StatsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1