From 752db9928d6f4bcc67a384d46232d88dc11ab3d7 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 00:51:07 +0000 Subject: [PATCH] Bob AI: Apply dark blue/gold theme and update hero/navbar for China --- src/components/Layout.tsx | 15 +- src/index.css | 12 +- src/pages/HomePage.tsx | 219 ++----------------- src/pages/HomePage/sections/Contact.tsx | 25 +++ src/pages/HomePage/sections/Faq.tsx | 39 ++++ src/pages/HomePage/sections/Hero.tsx | 21 ++ src/pages/HomePage/sections/Services.tsx | 37 ++++ src/pages/HomePage/sections/Team.tsx | 34 +++ src/pages/HomePage/sections/Testimonials.tsx | 56 +++++ src/pages/HomePage/sections/WhyUs.tsx | 32 +++ 10 files changed, 279 insertions(+), 211 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/Services.tsx create mode 100644 src/pages/HomePage/sections/Team.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx create mode 100644 src/pages/HomePage/sections/WhyUs.tsx diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 4660c85..14e0925 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -10,16 +10,15 @@ export default function Layout() {
diff --git a/src/index.css b/src/index.css index 58cec5c..c018d71 100644 --- a/src/index.css +++ b/src/index.css @@ -5,15 +5,15 @@ :root { /* @colorThemes/darkTheme/premiumOrange */ - --background: #0a0a0a; - --card: #1a1a1a; + --background: #0a192f; + --card: #112240; --foreground: #f5f5f5; - --primary-cta: #ff7a1a; + --primary-cta: #d4af37; --primary-cta-text: #ffffff; - --secondary-cta: #1a1a1a; + --secondary-cta: #112240; --secondary-cta-text: #f5f5f5; - --accent: #ff7a1a; - --background-accent: #e8651a; + --accent: #d4af37; + --background-accent: #b5952f; /* @layout/border-radius/soft */ --radius: 1.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 8f8ba9f..f971619 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,211 +1,36 @@ -import { StyleProvider } from "@/components/ui/StyleProvider"; -import HeroBillboardFeatures from "@/components/sections/hero/HeroBillboardFeatures"; -import FeaturesStickyCards from "@/components/sections/features/FeaturesStickyCards"; -import TestimonialMarqueeOverlayCards from "@/components/sections/testimonial/TestimonialMarqueeOverlayCards"; -import FeaturesComparison from "@/components/sections/features/FeaturesComparison"; -import TeamOverlayCards from "@/components/sections/team/TeamOverlayCards"; -import FaqSimple from "@/components/sections/faq/FaqSimple"; -import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; +// 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 { StyleProvider } from "@/components/ui/StyleProvider"; +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import ServicesSection from './HomePage/sections/Services'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import WhyUsSection from './HomePage/sections/WhyUs'; +import TeamSection from './HomePage/sections/Team'; +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..bbc52e2 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,25 @@ +// 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 ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; + +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..72632ba --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,39 @@ +// 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 FaqSimple from "@/components/sections/faq/FaqSimple"; + +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..0a635fd --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,21 @@ +// 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 HeroBillboardFeatures from "@/components/sections/hero/HeroBillboardFeatures"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Services.tsx b/src/pages/HomePage/sections/Services.tsx new file mode 100644 index 0000000..365fff9 --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,37 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "services" section. + +import React from 'react'; +import FeaturesStickyCards from "@/components/sections/features/FeaturesStickyCards"; + +export default function ServicesSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Team.tsx b/src/pages/HomePage/sections/Team.tsx new file mode 100644 index 0000000..e71488c --- /dev/null +++ b/src/pages/HomePage/sections/Team.tsx @@ -0,0 +1,34 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "team" section. + +import React from 'react'; +import TeamOverlayCards from "@/components/sections/team/TeamOverlayCards"; + +export default function TeamSection(): 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..5dbaa78 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,56 @@ +// 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"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/WhyUs.tsx b/src/pages/HomePage/sections/WhyUs.tsx new file mode 100644 index 0000000..6cee3e0 --- /dev/null +++ b/src/pages/HomePage/sections/WhyUs.tsx @@ -0,0 +1,32 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "why-us" section. + +import React from 'react'; +import FeaturesComparison from "@/components/sections/features/FeaturesComparison"; + +export default function WhyUsSection(): React.JSX.Element { + return ( +
+ +
+ ); +}