From fdd0a614ee5248f634e95e8405833726413d9515 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 17:27:52 +0000 Subject: [PATCH] Bob AI: Remove secondary button from hero section --- src/pages/HomePage.tsx | 214 ++----------------- src/pages/HomePage/sections/About.tsx | 17 ++ src/pages/HomePage/sections/Contact.tsx | 26 +++ src/pages/HomePage/sections/Destinations.tsx | 61 ++++++ src/pages/HomePage/sections/Hero.tsx | 24 +++ src/pages/HomePage/sections/HowItWorks.tsx | 40 ++++ src/pages/HomePage/sections/Reviews.tsx | 46 ++++ src/pages/HomePage/sections/Services.tsx | 39 ++++ 8 files changed, 275 insertions(+), 192 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/Destinations.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/HowItWorks.tsx create mode 100644 src/pages/HomePage/sections/Reviews.tsx create mode 100644 src/pages/HomePage/sections/Services.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index e8b37a3..cf3c461 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,207 +1,37 @@ -import { StyleProvider } from "@/components/ui/StyleProvider"; -import HeroBrandCarousel from "@/components/sections/hero/HeroBrandCarousel"; -import AboutText from "@/components/sections/about/AboutText"; -import FeaturesMediaCards from "@/components/sections/features/FeaturesMediaCards"; -import FeaturesDetailedSteps from "@/components/sections/features/FeaturesDetailedSteps"; -import FeaturesTaggedCards from "@/components/sections/features/FeaturesTaggedCards"; -import TestimonialSplitCards from "@/components/sections/testimonial/TestimonialSplitCards"; -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 AboutSection from './HomePage/sections/About'; +import ServicesSection from './HomePage/sections/Services'; +import HowItWorksSection from './HomePage/sections/HowItWorks'; +import DestinationsSection from './HomePage/sections/Destinations'; +import ReviewsSection from './HomePage/sections/Reviews'; +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..981093d --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,17 @@ +// 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"; + +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..bd6a102 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,26 @@ +// 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/Destinations.tsx b/src/pages/HomePage/sections/Destinations.tsx new file mode 100644 index 0000000..f1227e3 --- /dev/null +++ b/src/pages/HomePage/sections/Destinations.tsx @@ -0,0 +1,61 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "destinations" section. + +import React from 'react'; +import FeaturesTaggedCards from "@/components/sections/features/FeaturesTaggedCards"; + +export default function DestinationsSection(): 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..21dde1d --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,24 @@ +// 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 HeroBrandCarousel from "@/components/sections/hero/HeroBrandCarousel"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/HowItWorks.tsx b/src/pages/HomePage/sections/HowItWorks.tsx new file mode 100644 index 0000000..8f4c4a2 --- /dev/null +++ b/src/pages/HomePage/sections/HowItWorks.tsx @@ -0,0 +1,40 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "how-it-works" section. + +import React from 'react'; +import FeaturesDetailedSteps from "@/components/sections/features/FeaturesDetailedSteps"; + +export default function HowItWorksSection(): React.JSX.Element { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Reviews.tsx b/src/pages/HomePage/sections/Reviews.tsx new file mode 100644 index 0000000..238037d --- /dev/null +++ b/src/pages/HomePage/sections/Reviews.tsx @@ -0,0 +1,46 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "reviews" section. + +import React from 'react'; +import TestimonialSplitCards from "@/components/sections/testimonial/TestimonialSplitCards"; + +export default function ReviewsSection(): 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..31aeecd --- /dev/null +++ b/src/pages/HomePage/sections/Services.tsx @@ -0,0 +1,39 @@ +// 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 FeaturesMediaCards from "@/components/sections/features/FeaturesMediaCards"; + +export default function ServicesSection(): React.JSX.Element { + return ( +
+ +
+ ); +} -- 2.49.1