diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index bdfaa01..8f51312 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,330 +1,44 @@ -import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import HeroSplit from '@/components/sections/hero/HeroSplit'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import PricingSimpleCards from '@/components/sections/pricing/PricingSimpleCards'; -import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; -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 TrustSection from './HomePage/sections/Trust'; +import AboutSection from './HomePage/sections/About'; +import RoomsSection from './HomePage/sections/Rooms'; +import WhySection from './HomePage/sections/Why'; +import DestinationsSection from './HomePage/sections/Destinations'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import GallerySection from './HomePage/sections/Gallery'; +import BookingSection from './HomePage/sections/Booking'; +import ContactSection from './HomePage/sections/Contact'; + + +import TrustBadgesSection from './HomePage/sections/TrustBadges';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..6be8c37 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,22 @@ +// 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 AboutTestimonial from '@/components/sections/about/AboutTestimonial'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): 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..10d5cc0 --- /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/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..29268be --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,38 @@ +// 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 FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +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..a12ed35 --- /dev/null +++ b/src/pages/HomePage/sections/Destinations.tsx @@ -0,0 +1,57 @@ +// 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 FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function DestinationsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Gallery.tsx b/src/pages/HomePage/sections/Gallery.tsx new file mode 100644 index 0000000..10d0d02 --- /dev/null +++ b/src/pages/HomePage/sections/Gallery.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "gallery" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function GallerySection(): 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..178665b --- /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/Rooms.tsx b/src/pages/HomePage/sections/Rooms.tsx new file mode 100644 index 0000000..2036295 --- /dev/null +++ b/src/pages/HomePage/sections/Rooms.tsx @@ -0,0 +1,40 @@ +// 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 FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function RoomsSection(): 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..4f675b2 --- /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 TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Trust.tsx b/src/pages/HomePage/sections/Trust.tsx new file mode 100644 index 0000000..fcf07b1 --- /dev/null +++ b/src/pages/HomePage/sections/Trust.tsx @@ -0,0 +1,40 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "trust" section. + +import React from 'react'; +import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TrustSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/TrustBadges.tsx b/src/pages/HomePage/sections/TrustBadges.tsx new file mode 100644 index 0000000..4c56a31 --- /dev/null +++ b/src/pages/HomePage/sections/TrustBadges.tsx @@ -0,0 +1,29 @@ +import { motion } from "motion/react" +import ScrollReveal from "@/components/ui/ScrollReveal" + +export default function TrustBadgesSection() { + return ( +
+
+ +
+

+ Trusted by guests worldwide +

+
+
+ Booking.com +
+
+ TripAdvisor +
+
+ Google Reviews +
+
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Why.tsx b/src/pages/HomePage/sections/Why.tsx new file mode 100644 index 0000000..f24b282 --- /dev/null +++ b/src/pages/HomePage/sections/Why.tsx @@ -0,0 +1,52 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "why" section. + +import React from 'react'; +import PricingSimpleCards from '@/components/sections/pricing/PricingSimpleCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function WhySection(): React.JSX.Element { + return ( +
+ + +
+ ); +}