From b03a42323c4b3afceede7286eb09298f427496f6 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 13 Jun 2026 21:42:31 +0000 Subject: [PATCH] Bob AI: Increased global text sizing to large for better readability --- src/index.css | 30 +-- src/pages/HomePage.tsx | 245 ++----------------- src/pages/HomePage/sections/About.tsx | 21 ++ src/pages/HomePage/sections/Contact.tsx | 27 ++ src/pages/HomePage/sections/Faq.tsx | 48 ++++ src/pages/HomePage/sections/Features.tsx | 49 ++++ src/pages/HomePage/sections/Hero.tsx | 48 ++++ src/pages/HomePage/sections/Metrics.tsx | 40 +++ src/pages/HomePage/sections/Testimonials.tsx | 57 +++++ 9 files changed, 327 insertions(+), 238 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/Faq.tsx create mode 100644 src/pages/HomePage/sections/Features.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Metrics.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/index.css b/src/index.css index 3a71f1a..7e21600 100644 --- a/src/index.css +++ b/src/index.css @@ -32,21 +32,21 @@ --width-carousel-item-3: calc(var(--width-content-width) / 3 - var(--vw-1_5) / 3 * 2); --width-carousel-item-4: calc(var(--width-content-width) / 4 - var(--vw-1_5) / 4 * 3); - /* @typography/text-sizing/medium */ - --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); - --text-xs: clamp(0.54rem, 0.72vw, 0.72rem); - --text-sm: clamp(0.615rem, 0.82vw, 0.82rem); - --text-base: clamp(0.69rem, 0.92vw, 0.92rem); - --text-lg: clamp(0.75rem, 1vw, 1rem); - --text-xl: clamp(0.825rem, 1.1vw, 1.1rem); - --text-2xl: clamp(0.975rem, 1.3vw, 1.3rem); - --text-3xl: clamp(1.2rem, 1.6vw, 1.6rem); - --text-4xl: clamp(1.5rem, 2vw, 2rem); - --text-5xl: clamp(2.025rem, 2.75vw, 2.75rem); - --text-6xl: clamp(2.475rem, 3.3vw, 3.3rem); - --text-7xl: clamp(3rem, 4vw, 4rem); - --text-8xl: clamp(3.5rem, 4.5vw, 4.5rem); - --text-9xl: clamp(5.25rem, 7vw, 7rem); + /* @typography/text-sizing/large */ + --text-2xs: clamp(0.525rem, 0.7vw, 0.7rem); + --text-xs: clamp(0.6rem, 0.8vw, 0.8rem); + --text-sm: clamp(0.675rem, 0.9vw, 0.9rem); + --text-base: clamp(0.75rem, 1vw, 1rem); + --text-lg: clamp(0.825rem, 1.1vw, 1.1rem); + --text-xl: clamp(0.9rem, 1.2vw, 1.2rem); + --text-2xl: clamp(1.05rem, 1.4vw, 1.4rem); + --text-3xl: clamp(1.35rem, 1.8vw, 1.8rem); + --text-4xl: clamp(1.65rem, 2.2vw, 2.2rem); + --text-5xl: clamp(2.25rem, 3vw, 3rem); + --text-6xl: clamp(2.7rem, 3.6vw, 3.6rem); + --text-7xl: clamp(3.375rem, 4.5vw, 4.5rem); + --text-8xl: clamp(4.125rem, 5.5vw, 5.5rem); + --text-9xl: clamp(6rem, 8vw, 8rem); } /* @typography/text-sizing/medium (mobile) */ diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index a095be4..962b397 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,234 +1,33 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; -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 FeaturesSection from './HomePage/sections/Features'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +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/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..fd838cc --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,21 @@ +// 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 AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +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..d1e71d7 --- /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..e367b58 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,48 @@ +// 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/Features.tsx b/src/pages/HomePage/sections/Features.tsx new file mode 100644 index 0000000..48747e0 --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,49 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "features" section. + +import React from 'react'; +import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesSection(): 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..2fcb1fa --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,48 @@ +// 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 HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..e0b6863 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,40 @@ +// 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 MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): 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..dc795ad --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,57 @@ +// 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 TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}