From cb11396d78fca555e2f5f85b03bdbd565e4ff6f4 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 18:54:00 +0000 Subject: [PATCH] Bob AI: Add trust logos marquee section --- src/pages/HomePage.tsx | 256 ++----------------- src/pages/HomePage/sections/Contact.tsx | 27 ++ src/pages/HomePage/sections/Faq.tsx | 35 +++ src/pages/HomePage/sections/Fleet.tsx | 64 +++++ src/pages/HomePage/sections/Hero.tsx | 29 +++ src/pages/HomePage/sections/Metrics.tsx | 38 +++ src/pages/HomePage/sections/Pricing.tsx | 54 ++++ src/pages/HomePage/sections/Testimonials.tsx | 52 ++++ src/pages/HomePage/sections/TrustLogos.tsx | 51 ++++ 9 files changed, 374 insertions(+), 232 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/Fleet.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/Pricing.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx create mode 100644 src/pages/HomePage/sections/TrustLogos.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index c62c296..1b4d180 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,243 +1,35 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroSplit from '@/components/sections/hero/HeroSplit'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import PricingSplitCards from '@/components/sections/pricing/PricingSplitCards'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -import { Award, Car, Users } 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 FleetSection from './HomePage/sections/Fleet'; +import PricingSection from './HomePage/sections/Pricing'; +import FaqSection from './HomePage/sections/Faq'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import ContactSection from './HomePage/sections/Contact'; + + +import TrustLogosSection from './HomePage/sections/TrustLogos';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..c0753a1 --- /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..6b20251 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,35 @@ +// 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 FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Fleet.tsx b/src/pages/HomePage/sections/Fleet.tsx new file mode 100644 index 0000000..ab2798f --- /dev/null +++ b/src/pages/HomePage/sections/Fleet.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "fleet" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FleetSection(): 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..3a0c1c2 --- /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 HeroSplit from '@/components/sections/hero/HeroSplit'; +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..106c447 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,38 @@ +// 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 MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; +import { Award, Car, Users } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Pricing.tsx b/src/pages/HomePage/sections/Pricing.tsx new file mode 100644 index 0000000..52ccff2 --- /dev/null +++ b/src/pages/HomePage/sections/Pricing.tsx @@ -0,0 +1,54 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "pricing" section. + +import React from 'react'; +import PricingSplitCards from '@/components/sections/pricing/PricingSplitCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function PricingSection(): 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..7b3b264 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,52 @@ +// 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 TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/TrustLogos.tsx b/src/pages/HomePage/sections/TrustLogos.tsx new file mode 100644 index 0000000..f0e4259 --- /dev/null +++ b/src/pages/HomePage/sections/TrustLogos.tsx @@ -0,0 +1,51 @@ +import ScrollReveal from "@/components/ui/ScrollReveal"; +import TextAnimation from "@/components/ui/TextAnimation"; +import LoopCarousel from "@/components/ui/LoopCarousel"; +import { CreditCard, ShieldCheck, Award, CheckCircle2, Wallet } from "lucide-react"; + +export default function TrustLogosSection() { + const items = [ + { name: "Visa", icon: CreditCard }, + { name: "Mastercard", icon: CreditCard }, + { name: "American Express", icon: CreditCard }, + { name: "Apple Pay", icon: Wallet }, + { name: "Dubai RTA Approved", icon: ShieldCheck }, + { name: "UAE Rent a Car Association", icon: Award }, + { name: "Fully Insured", icon: CheckCircle2 }, + ]; + + return ( +
+
+ + + Book With Confidence + + + +
+ +
+ +
+ {items.map((item, index) => { + const Icon = item.icon; + return ( +
+ + {item.name} +
+ ); + })} +
+
+
+
+ ); +} \ No newline at end of file -- 2.49.1