From 810bf450195d153eefba6212d223c91ba02604de Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 25 Jun 2026 08:16:18 +0000 Subject: [PATCH] Bob AI: Replaced hero with HeroBrand for fatigue page --- src/pages/HomePage.tsx | 243 ++---------------- src/pages/HomePage/sections/About.tsx | 22 ++ src/pages/HomePage/sections/Contact.tsx | 27 ++ src/pages/HomePage/sections/Hero.tsx | 18 ++ .../sections/MalnutritionSolutions.tsx | 64 +++++ src/pages/HomePage/sections/Motivation.tsx | 39 +++ src/pages/HomePage/sections/Nutrition.tsx | 58 +++++ .../HomePage/sections/TrainingSchedules.tsx | 34 +++ 8 files changed, 284 insertions(+), 221 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/MalnutritionSolutions.tsx create mode 100644 src/pages/HomePage/sections/Motivation.tsx create mode 100644 src/pages/HomePage/sections/Nutrition.tsx create mode 100644 src/pages/HomePage/sections/TrainingSchedules.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index d89ad07..55a8dc5 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,232 +1,33 @@ -import AboutText from '@/components/sections/about/AboutText'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroOverlayMarquee from '@/components/sections/hero/HeroOverlayMarquee'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import { Award, Shield, Sparkles } 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 MalnutritionSolutionsSection from './HomePage/sections/MalnutritionSolutions'; +import NutritionSection from './HomePage/sections/Nutrition'; +import TrainingSchedulesSection from './HomePage/sections/TrainingSchedules'; +import MotivationSection from './HomePage/sections/Motivation'; +import ContactSection from './HomePage/sections/Contact'; + +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..b336ad5 --- /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 AboutText from '@/components/sections/about/AboutText'; +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..55665c4 --- /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/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..7271e14 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,18 @@ +// Created by add_section_from_catalog (HeroBrand). + +import React from 'react'; +import HeroBrand from '@/components/sections/hero/HeroBrand'; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/MalnutritionSolutions.tsx b/src/pages/HomePage/sections/MalnutritionSolutions.tsx new file mode 100644 index 0000000..78491a5 --- /dev/null +++ b/src/pages/HomePage/sections/MalnutritionSolutions.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "malnutrition-solutions" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MalnutritionSolutionsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Motivation.tsx b/src/pages/HomePage/sections/Motivation.tsx new file mode 100644 index 0000000..caaf162 --- /dev/null +++ b/src/pages/HomePage/sections/Motivation.tsx @@ -0,0 +1,39 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "motivation" section. + +import React from 'react'; +import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MotivationSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Nutrition.tsx b/src/pages/HomePage/sections/Nutrition.tsx new file mode 100644 index 0000000..44fd6ed --- /dev/null +++ b/src/pages/HomePage/sections/Nutrition.tsx @@ -0,0 +1,58 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "nutrition" section. + +import React from 'react'; +import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function NutritionSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/TrainingSchedules.tsx b/src/pages/HomePage/sections/TrainingSchedules.tsx new file mode 100644 index 0000000..ca0316d --- /dev/null +++ b/src/pages/HomePage/sections/TrainingSchedules.tsx @@ -0,0 +1,34 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "training-schedules" section. + +import React from 'react'; +import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TrainingSchedulesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1