From a4a633e82a5d234d6e1da7ac79c50ba7b2ff5e10 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 7 Jun 2026 22:23:07 +0000 Subject: [PATCH 1/2] Bob AI: Added a floating 5-star rating card to the hero section. --- src/pages/HomePage.tsx | 289 ++----------------- src/pages/HomePage/sections/About.tsx | 30 ++ src/pages/HomePage/sections/Amenities.tsx | 43 +++ src/pages/HomePage/sections/Contact.tsx | 27 ++ src/pages/HomePage/sections/Hero.tsx | 74 +++++ src/pages/HomePage/sections/Metrics.tsx | 38 +++ src/pages/HomePage/sections/Rooms.tsx | 64 ++++ src/pages/HomePage/sections/SocialProof.tsx | 31 ++ src/pages/HomePage/sections/Testimonials.tsx | 57 ++++ 9 files changed, 386 insertions(+), 267 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Amenities.tsx create mode 100644 src/pages/HomePage/sections/Contact.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/Rooms.tsx create mode 100644 src/pages/HomePage/sections/SocialProof.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 2928226..2cedc0b 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,273 +1,28 @@ -import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -import { Award, Star, 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; this shell only fixes render order. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import AboutSection from './HomePage/sections/About'; +import AmenitiesSection from './HomePage/sections/Amenities'; +import RoomsSection from './HomePage/sections/Rooms'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import SocialProofSection from './HomePage/sections/SocialProof'; +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..64e4f11 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,30 @@ +// 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 AboutTextSplit from '@/components/sections/about/AboutTextSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Amenities.tsx b/src/pages/HomePage/sections/Amenities.tsx new file mode 100644 index 0000000..f744b07 --- /dev/null +++ b/src/pages/HomePage/sections/Amenities.tsx @@ -0,0 +1,43 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "amenities" section. + +import React from 'react'; +import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AmenitiesSection(): 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..4f6e1a6 --- /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/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..4e3ee50 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,74 @@ +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; + +type HeroBillboardCarouselProps = { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + items: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; +}; + +const HeroInline = () => { + const duplicated = [...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}], ...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}], ...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}], ...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}]]; + + return ( +
+ +
+
+

{"Welcome to Hotel Luxe"}

+
+ + + + + +
+
+
+ +
+
+ {duplicated.map((item, i) => ( +
+ +
+ ))} +
+
+
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..82ed824 --- /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, Star, 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/Rooms.tsx b/src/pages/HomePage/sections/Rooms.tsx new file mode 100644 index 0000000..18e0419 --- /dev/null +++ b/src/pages/HomePage/sections/Rooms.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "rooms" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function RoomsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/SocialProof.tsx b/src/pages/HomePage/sections/SocialProof.tsx new file mode 100644 index 0000000..a86c085 --- /dev/null +++ b/src/pages/HomePage/sections/SocialProof.tsx @@ -0,0 +1,31 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "social-proof" section. + +import React from 'react'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function SocialProofSection(): 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..ffac275 --- /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 TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1 From c9873e0dcc41b456d69a37d83aa939a9c766aec3 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 7 Jun 2026 22:24:14 +0000 Subject: [PATCH 2/2] Bob AI: fix build errors (attempt 1) --- src/pages/HomePage/sections/Hero.tsx | 118 ++++++++++++--------------- 1 file changed, 51 insertions(+), 67 deletions(-) diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index 4e3ee50..ebb71c4 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,74 +1,58 @@ +import { Star } from "lucide-react"; import Button from "@/components/ui/Button"; -import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; import TextAnimation from "@/components/ui/TextAnimation"; import ImageOrVideo from "@/components/ui/ImageOrVideo"; - -type HeroBillboardCarouselProps = { - tag: string; - title: string; - description: string; - primaryButton: { text: string; href: string }; - secondaryButton: { text: string; href: string }; - items: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; -}; - -const HeroInline = () => { - const duplicated = [...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}], ...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}], ...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}], ...[{"imageSrc":"http://img.b2bpic.net/free-photo/dining-sitting-furniture-set-cafe-restaurant-with-light-colors-big-windows_114579-1522.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/outdoor-swimming-pool_1203-2844.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/such-good-tableware-table-gold-shades_8353-9923.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/portrait-beautiful-young-woman-resting-her-bedroom-lying-bed-drinking-coffee-having-her_1258-205120.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/glass-raspberry-cocktail-with-ice_140725-4866.jpg"},{"imageSrc":"http://img.b2bpic.net/free-photo/modern-building-seen-from_116348-65.jpg"}]]; - - return ( -
- -
-
-

{"Welcome to Hotel Luxe"}

-
- - - - - -
-
-
- -
-
- {duplicated.map((item, i) => ( -
- -
- ))} -
-
-
- ); -}; +import ScrollReveal from "@/components/ui/ScrollReveal"; export default function HeroSection() { return ( -
- -
+
+
+ +
+ +
+
+ {[...Array(5)].map((_, i) => ( + + ))} +
+ 5 Star Luxury Hotel +
+
+ + + + + + +
+
+
+ + +
+ +
+
+
+
); -} +} \ No newline at end of file -- 2.49.1