From 626f8f20c1368f0aaeff6294685baf8f8a87ac18 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 18 Jun 2026 20:31:14 +0000 Subject: [PATCH] Bob AI: Applied logo colors to global theme tokens --- src/index.css | 6 +- src/pages/HomePage.tsx | 148 +++---------------- src/pages/HomePage/sections/Contact.tsx | 22 +++ src/pages/HomePage/sections/Faq.tsx | 40 +++++ src/pages/HomePage/sections/Hero.tsx | 29 ++++ src/pages/HomePage/sections/Impact.tsx | 22 +++ src/pages/HomePage/sections/Registration.tsx | 64 ++++++++ 7 files changed, 198 insertions(+), 133 deletions(-) create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Impact.tsx create mode 100644 src/pages/HomePage/sections/Registration.tsx diff --git a/src/index.css b/src/index.css index e8e9210..14c4998 100644 --- a/src/index.css +++ b/src/index.css @@ -8,11 +8,11 @@ --background: #fdfaf6; --card: #ffffff; --foreground: #1a1a1a; - --primary-cta: #1c4a4a; + --primary-cta: #256388; --primary-cta-text: #ffffff; - --secondary-cta: #a52a2a; + --secondary-cta: #a63131; --secondary-cta-text: #ffffff; - --accent: #e0c9a6; + --accent: #d8b26e; --background-accent: #f3eee5; /* @layout/border-radius/rounded */ diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 7891bdf..10d19d6 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,139 +1,27 @@ -import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; -import ContactCenter from '@/components/sections/contact/ContactCenter'; -import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroBillboard from '@/components/sections/hero/HeroBillboard'; -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 RegistrationSection from './HomePage/sections/Registration'; +import ImpactSection from './HomePage/sections/Impact'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + +export default function HomePage(): 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..20da73d --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,22 @@ +// 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 ContactCenter from '@/components/sections/contact/ContactCenter'; +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..6d5529a --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,40 @@ +// 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/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..0d6b616 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "hero" section. + +import React from 'react'; +import HeroBillboard from '@/components/sections/hero/HeroBillboard'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Impact.tsx b/src/pages/HomePage/sections/Impact.tsx new file mode 100644 index 0000000..1d95345 --- /dev/null +++ b/src/pages/HomePage/sections/Impact.tsx @@ -0,0 +1,22 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "impact" section. + +import React from 'react'; +import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ImpactSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Registration.tsx b/src/pages/HomePage/sections/Registration.tsx new file mode 100644 index 0000000..aeb0644 --- /dev/null +++ b/src/pages/HomePage/sections/Registration.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "registration" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function RegistrationSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1