From 8f197e3ddf39791a3dfa44a292b9f4761dd40948 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 09:59:04 +0000 Subject: [PATCH] Bob AI: Add location map section and update reviews --- src/pages/HomePage.tsx | 252 ++------------------ src/pages/HomePage/sections/About.tsx | 23 ++ src/pages/HomePage/sections/Amenities.tsx | 64 +++++ src/pages/HomePage/sections/Booking.tsx | 27 +++ src/pages/HomePage/sections/Hero.tsx | 29 +++ src/pages/HomePage/sections/Location.tsx | 78 ++++++ src/pages/HomePage/sections/OfferBanner.tsx | 28 +++ src/pages/HomePage/sections/Reviews.tsx | 21 ++ src/pages/HomePage/sections/Rooms.tsx | 67 ++++++ 9 files changed, 361 insertions(+), 228 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/Booking.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Location.tsx create mode 100644 src/pages/HomePage/sections/OfferBanner.tsx create mode 100644 src/pages/HomePage/sections/Reviews.tsx create mode 100644 src/pages/HomePage/sections/Rooms.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 2762b77..8d5c68d 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,239 +1,35 @@ -import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards'; -import HeroBillboard from '@/components/sections/hero/HeroBillboard'; -import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -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 OfferBannerSection from './HomePage/sections/OfferBanner'; +import RoomsSection from './HomePage/sections/Rooms'; +import AmenitiesSection from './HomePage/sections/Amenities'; +import ReviewsSection from './HomePage/sections/Reviews'; +import AboutSection from './HomePage/sections/About'; +import BookingSection from './HomePage/sections/Booking'; + + +import LocationSection from './HomePage/sections/Location';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..377c0fa --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,23 @@ +// 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..ae26e06 --- /dev/null +++ b/src/pages/HomePage/sections/Amenities.tsx @@ -0,0 +1,64 @@ +// 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 FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AmenitiesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Booking.tsx b/src/pages/HomePage/sections/Booking.tsx new file mode 100644 index 0000000..e370c85 --- /dev/null +++ b/src/pages/HomePage/sections/Booking.tsx @@ -0,0 +1,27 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "booking" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function BookingSection(): 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..f8c9af0 --- /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 HeroBillboard from '@/components/sections/hero/HeroBillboard'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Location.tsx b/src/pages/HomePage/sections/Location.tsx new file mode 100644 index 0000000..09ef44c --- /dev/null +++ b/src/pages/HomePage/sections/Location.tsx @@ -0,0 +1,78 @@ +import React from 'react'; +import { MapPin, Navigation, Car, Train } from 'lucide-react'; +import ScrollReveal from '@/components/ui/ScrollReveal'; + +export default function LocationSection() { + return ( +
+
+
+
+ +
+
+ + Prime Location +
+

+ Easy to Find, Hard to Leave +

+

+ Located in the heart of Erode, Itsy Hotels Everest Leela Residency offers easy access to major transit hubs and local landmarks. +

+ +
+
+
+ +
+
+

Erode Railway Station

+

Just a short drive away, making your arrival and departure seamless.

+
+
+ +
+
+ +
+
+

Bus Stand

+

Easily accessible, connecting you to neighboring cities.

+
+
+ +
+
+ +
+
+

Local Landmarks

+

Close to popular restaurants, shopping areas, and business districts.

+
+
+
+
+
+ + +
+ +
+
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/OfferBanner.tsx b/src/pages/HomePage/sections/OfferBanner.tsx new file mode 100644 index 0000000..d7eab30 --- /dev/null +++ b/src/pages/HomePage/sections/OfferBanner.tsx @@ -0,0 +1,28 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "offer-banner" section. + +import React from 'react'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function OfferBannerSection(): 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..44933b3 --- /dev/null +++ b/src/pages/HomePage/sections/Reviews.tsx @@ -0,0 +1,21 @@ +// 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 TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ReviewsSection(): 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..de88ab7 --- /dev/null +++ b/src/pages/HomePage/sections/Rooms.tsx @@ -0,0 +1,67 @@ +// 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 PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function RoomsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1