Compare commits
7 Commits
version_1_
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ac57c57ff7 | |||
|
|
6dda39d015 | ||
| d4959bfdda | |||
| ff9d2111c0 | |||
| 7a7d37b902 | |||
| c0e13d0c57 | |||
| 81981a720f |
@@ -1,151 +1,36 @@
|
||||
import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FeaturesBento from '@/components/sections/features/FeaturesBento';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import HeroTiltedCards from '@/components/sections/hero/HeroTiltedCards';
|
||||
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
|
||||
import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly. Non-block content (wrappers, non-inlinable sections) is
|
||||
// preserved inline; extracted section blocks become <XSection/> refs.
|
||||
|
||||
export default function HomePage() {
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import FeaturesSection from './HomePage/sections/Features';
|
||||
import RoomsSection from './HomePage/sections/Rooms';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroTiltedCards
|
||||
tag="Experience Excellence"
|
||||
title="Where Luxury Meets Serenity"
|
||||
description="Discover a haven of refined comfort and personalized service in the heart of the city. Grand Horizon offers an unforgettable stay designed for discerning travelers."
|
||||
primaryButton={{ text: "Explore Rooms", href: "#rooms" }}
|
||||
secondaryButton={{ text: "Contact Us", href: "#contact" }}
|
||||
items={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/hotel-receptionist-work_23-2149661549.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/deck-chairs-pool_1203-1691.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/luxury-meeting-dining-room-table-multiple-chairs_114579-2067.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/front-view-bartender-preparing-drink_23-2150346959.jpg" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hotel-insights-details_23-2149160770.jpg" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutMediaOverlay
|
||||
tag="Our Heritage"
|
||||
title="A Legacy of Hospitality"
|
||||
description="Established with a vision to redefine the modern luxury travel experience, Grand Horizon combines timeless architectural elegance with contemporary design. Our dedicated staff ensures every stay is a masterpiece of comfort."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/young-woman-checking-her-phone_1098-17868.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesBento
|
||||
tag="Amenities"
|
||||
title="World-Class Comfort"
|
||||
description="Every detail at Grand Horizon has been carefully curated to provide you with the most relaxing and productive stay possible."
|
||||
features={[
|
||||
{
|
||||
title: "24/7 Concierge", description: "Our dedicated staff is ready to assist with all your needs, day and night.", bentoComponent: "orbiting-icons", centerIcon: "Bell", orbitIcons: ["Phone", "Sparkles", "Car"]
|
||||
},
|
||||
{
|
||||
title: "Gastronomy", description: "Experience culinary artistry from our award-winning world-class chefs.", bentoComponent: "info-card-marquee", infoCards: [
|
||||
{ icon: "Utensils", label: "Michelin Star", value: "3" },
|
||||
{ icon: "Coffee", label: "Selection", value: "50+" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Guest Experience", description: "Seamless check-ins and hyper-personalized hospitality service.", bentoComponent: "chat-marquee", aiIcon: "User", userIcon: "MessageSquare", exchanges: [
|
||||
{ userMessage: "Check-in time?", aiResponse: "Available at 3 PM daily." },
|
||||
{ userMessage: "Spa booked?", aiResponse: "Confirmed for 4 PM." }
|
||||
],
|
||||
placeholder: "Ask our virtual concierge..."
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FeaturesSection />
|
||||
|
||||
<div id="rooms" data-section="rooms">
|
||||
<SectionErrorBoundary name="rooms">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Accommodations"
|
||||
title="Refined Sanctuaries"
|
||||
description="Choose from our exquisite collection of rooms and suites designed for supreme relaxation."
|
||||
items={[
|
||||
{ title: "Classic Suite", description: "Elegant design with serene garden views.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg" },
|
||||
{ title: "Ocean View", description: "Breathtaking panoramas of the coastline.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/large-hotel-palm-trees-beach-thailand_1253-925.jpg" },
|
||||
{ title: "Royal Master", description: "Spacious sanctuary with private terrace.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/sofa_1203-2905.jpg" },
|
||||
{ title: "Business Lounge", description: "Productivity-optimized space for professionals.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/lobby-condominium-building_1262-3037.jpg" },
|
||||
{ title: "Family Villa", description: "Complete comfort for the entire family.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-swimming-pool_74190-7300.jpg" },
|
||||
{ title: "Presidential View", description: "The peak of architectural luxury.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/maximalist-interior-design_23-2151898525.jpg" },
|
||||
{ title: "Penthouse Loft", description: "Panoramic city views and sky-high luxury.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/modern-interior-design-interior_23-2151929508.jpg" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<RoomsSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsIconCards
|
||||
tag="Grand Success"
|
||||
title="Our Impact at a Glance"
|
||||
description="A track record of excellence recognized by travelers worldwide."
|
||||
metrics={[
|
||||
{ icon: "Award", title: "Travel Awards", value: "125+" },
|
||||
{ icon: "Star", title: "Five-Star Rating", value: "5.0" },
|
||||
{ icon: "Users", title: "Happy Guests", value: "50k+" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialMarqueeOverlayCards
|
||||
tag="Testimonials"
|
||||
title="Guest Stories"
|
||||
description="Read what our cherished guests have to say about their stay."
|
||||
testimonials={[
|
||||
{ name: "Sarah Jenkins", role: "Traveler", company: "Vogue Tours", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081850.jpg" },
|
||||
{ name: "Michael Ross", role: "Executive", company: "Global Corp", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/merry-young-adult-enjoying-christmas-conversation-video-call-room-decorated-festivity-celebration-talking-woman-preparing-drink-wine-kitchen-with-joyful-ornaments_482257-28400.jpg" },
|
||||
{ name: "Elena Visser", role: "Designer", company: "Creative Hub", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/woman-white-dress-summer-resort-hotel-wearing-sunglasses-stylish-accessories_285396-199.jpg" },
|
||||
{ name: "David Thorne", role: "Investor", company: "Ventures Ltd", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-teenage-girl-with-camera-smiling_74855-21330.jpg" },
|
||||
{ name: "Linda Wu", role: "Architect", company: "Urban Studio", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-formalwear-standing-wardrobe_171337-19155.jpg" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqSplitMedia
|
||||
tag="Questions"
|
||||
title="Planning Your Stay"
|
||||
description="Everything you need to know before arrival."
|
||||
items={[
|
||||
{ question: "What is the check-in time?", answer: "Check-in begins at 3:00 PM." },
|
||||
{ question: "Are pets allowed?", answer: "Yes, we are a pet-friendly facility for small animals." },
|
||||
{ question: "Do you have parking?", answer: "Complimentary valet parking is available for all guests." }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/hotel-guest-using-modern-device_482257-81626.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Reservations"
|
||||
text="Ready to book your luxurious experience?"
|
||||
primaryButton={{ text: "Book Your Stay", href: "#" }}
|
||||
secondaryButton={{ text: "Inquire Further", href: "#" }}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
21
src/pages/HomePage/sections/About.tsx
Normal file
21
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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 AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutMediaOverlay
|
||||
tag="Our Heritage"
|
||||
title="A Legacy of Hospitality"
|
||||
description="Established with a vision to redefine the modern luxury travel experience, Grand Horizon combines timeless architectural elegance with contemporary design. Our dedicated staff ensures every stay is a masterpiece of comfort."
|
||||
imageSrc="http://img.b2bpic.net/free-photo/young-woman-checking-her-phone_1098-17868.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
21
src/pages/HomePage/sections/Contact.tsx
Normal file
21
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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 (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Reservations"
|
||||
text="Ready to book your luxurious experience?"
|
||||
primaryButton={{ text: "Book Your Stay", href: "#" }}
|
||||
secondaryButton={{ text: "Inquire Further", href: "#" }}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
26
src/pages/HomePage/sections/Faq.tsx
Normal file
26
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
// 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 (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqSplitMedia
|
||||
tag="Questions"
|
||||
title="Planning Your Stay"
|
||||
description="Everything you need to know before arrival."
|
||||
items={[
|
||||
{ question: "What is the check-in time?", answer: "Check-in begins at 3:00 PM." },
|
||||
{ question: "Are pets allowed?", answer: "Yes, we are a pet-friendly facility for small animals." },
|
||||
{ question: "Do you have parking?", answer: "Complimentary valet parking is available for all guests." }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/hotel-guest-using-modern-device_482257-81626.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
38
src/pages/HomePage/sections/Features.tsx
Normal file
38
src/pages/HomePage/sections/Features.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "features" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesBento from '@/components/sections/features/FeaturesBento';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FeaturesSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="features" data-section="features">
|
||||
<SectionErrorBoundary name="features">
|
||||
<FeaturesBento
|
||||
tag="Amenities"
|
||||
title="World-Class Comfort"
|
||||
description="Every detail at Grand Horizon has been carefully curated to provide you with the most relaxing and productive stay possible."
|
||||
features={[
|
||||
{
|
||||
title: "24/7 Concierge", description: "Our dedicated staff is ready to assist with all your needs, day and night.", bentoComponent: "orbiting-icons", centerIcon: "Bell", orbitIcons: ["Phone", "Sparkles", "Car"]
|
||||
},
|
||||
{
|
||||
title: "Gastronomy", description: "Experience culinary artistry from our award-winning world-class chefs.", bentoComponent: "info-card-marquee", infoCards: [
|
||||
{ icon: "Utensils", label: "Michelin Star", value: "3" },
|
||||
{ icon: "Coffee", label: "Selection", value: "50+" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Guest Experience", description: "Seamless check-ins and hyper-personalized hospitality service.", bentoComponent: "chat-marquee", aiIcon: "User", userIcon: "MessageSquare", exchanges: [
|
||||
{ userMessage: "Check-in time?", aiResponse: "Available at 3 PM daily." },
|
||||
{ userMessage: "Spa booked?", aiResponse: "Confirmed for 4 PM." }
|
||||
],
|
||||
placeholder: "Ask our virtual concierge..."
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
145
src/pages/HomePage/sections/Hero.tsx
Normal file
145
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,145 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import Button from "@/components/ui/Button";
|
||||
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import RatingStars from "@/components/ui/RatingStars";
|
||||
import AvatarGroup from "@/components/ui/AvatarGroup";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
const primaryButton = {
|
||||
text: "Explore Rooms",
|
||||
href: "#rooms"
|
||||
};
|
||||
const secondaryButton = {
|
||||
text: "Contact Us",
|
||||
href: "#contact"
|
||||
};
|
||||
const items = [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/hotel-receptionist-work_23-2149661549.jpg"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/deck-chairs-pool_1203-1691.jpg"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/luxury-meeting-dining-room-table-multiple-chairs_114579-2067.jpg"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-bartender-preparing-drink_23-2150346959.jpg"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hotel-insights-details_23-2149160770.jpg"
|
||||
}
|
||||
];
|
||||
|
||||
type MediaItem = { imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never };
|
||||
|
||||
interface HeroTiltedCardsProps {
|
||||
tag: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton: { text: string; href: string };
|
||||
secondaryButton: { text: string; href: string };
|
||||
items: [MediaItem, MediaItem, MediaItem, MediaItem, MediaItem];
|
||||
}
|
||||
|
||||
const HeroInline = () => {
|
||||
const marqueeItems = [...items, ...items];
|
||||
const galleryStyles = [
|
||||
"-rotate-6 z-10 -translate-y-5",
|
||||
"rotate-6 z-20 translate-y-5 -ml-15",
|
||||
"-rotate-6 z-30 -translate-y-5 -ml-15",
|
||||
"rotate-6 z-40 translate-y-5 -ml-15",
|
||||
"-rotate-6 z-50 -translate-y-5 -ml-15",
|
||||
];
|
||||
|
||||
return (
|
||||
<section aria-label="Hero section" className="relative h-svh md:h-auto pt-25 pb-20 md:pt-30">
|
||||
<HeroBackgroundSlot />
|
||||
<div className="flex flex-col items-center gap-12 md:gap-15 w-full md:w-content-width mx-auto">
|
||||
<div className="flex flex-col items-center gap-3 w-content-width mx-auto text-center">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Experience Excellence"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Where Luxury Meets Serenity"}
|
||||
variant="fade"
|
||||
gradientText={true}
|
||||
tag="h1"
|
||||
className="md:max-w-8/10 text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Discover a haven of refined comfort and personalized service in the heart of the city. Grand Horizon offers an unforgettable stay designed for discerning travelers."}
|
||||
variant="fade"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-balance"
|
||||
/>
|
||||
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
<Button text={primaryButton.text} href={primaryButton.href} variant="primary"/>
|
||||
<Button text={secondaryButton.text} href={secondaryButton.href} variant="secondary"animationDelay={0.1} />
|
||||
</div>
|
||||
|
||||
<ScrollReveal variant="slide-up" delay={0.3}>
|
||||
<div className="flex items-center gap-4 card p-3 pr-5 rounded-full mt-6 mx-auto w-fit">
|
||||
<AvatarGroup
|
||||
avatarsSrc={[
|
||||
"https://i.pravatar.cc/150?u=1",
|
||||
"https://i.pravatar.cc/150?u=2",
|
||||
"https://i.pravatar.cc/150?u=3",
|
||||
"https://i.pravatar.cc/150?u=4",
|
||||
"https://i.pravatar.cc/150?u=5"
|
||||
]}
|
||||
size="sm"
|
||||
/>
|
||||
<div className="flex flex-col items-start gap-0.5">
|
||||
<RatingStars rating={5} />
|
||||
<p className="text-xs text-muted-foreground font-medium">Loved by 10,000+ guests</p>
|
||||
</div>
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
<ScrollReveal variant="slide-up" delay={0.2} className="block md:hidden w-full overflow-hidden mask-padding-x">
|
||||
<div className="flex w-max animate-marquee-horizontal">
|
||||
{marqueeItems.map((item, index) => (
|
||||
<div key={index} className="shrink-0 w-[50vw] mr-5 aspect-4/5 p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden">
|
||||
<ImageOrVideo imageSrc={item.imageSrc} videoSrc={item.videoSrc} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
|
||||
<ScrollReveal variant="slide-up" delay={0.2} className="hidden md:flex justify-center items-center w-full">
|
||||
<div className="flex items-center justify-center">
|
||||
{items.map((item, index) => (
|
||||
<div
|
||||
key={index}
|
||||
className={cls(
|
||||
"relative w-[23%] aspect-4/5 p-2 xl:p-3 2xl:p-4 card rounded overflow-hidden shadow-lg transition-transform duration-500 ease-out hover:scale-110",
|
||||
galleryStyles[index]
|
||||
)}
|
||||
>
|
||||
<ImageOrVideo imageSrc={item.imageSrc} videoSrc={item.videoSrc} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function HeroSection() {
|
||||
return (
|
||||
<div data-webild-section="hero" id="hero">
|
||||
<HeroInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
25
src/pages/HomePage/sections/Metrics.tsx
Normal file
25
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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 SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsIconCards
|
||||
tag="Grand Success"
|
||||
title="Our Impact at a Glance"
|
||||
description="A track record of excellence recognized by travelers worldwide."
|
||||
metrics={[
|
||||
{ icon: "Award", title: "Travel Awards", value: "125+" },
|
||||
{ icon: "Star", title: "Five-Star Rating", value: "5.0" },
|
||||
{ icon: "Users", title: "Happy Guests", value: "50k+" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
29
src/pages/HomePage/sections/Rooms.tsx
Normal file
29
src/pages/HomePage/sections/Rooms.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
// 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 (
|
||||
<div id="rooms" data-section="rooms">
|
||||
<SectionErrorBoundary name="rooms">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Accommodations"
|
||||
title="Refined Sanctuaries"
|
||||
description="Choose from our exquisite collection of rooms and suites designed for supreme relaxation."
|
||||
items={[
|
||||
{ title: "Classic Suite", description: "Elegant design with serene garden views.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg" },
|
||||
{ title: "Ocean View", description: "Breathtaking panoramas of the coastline.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/large-hotel-palm-trees-beach-thailand_1253-925.jpg" },
|
||||
{ title: "Royal Master", description: "Spacious sanctuary with private terrace.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/sofa_1203-2905.jpg" },
|
||||
{ title: "Business Lounge", description: "Productivity-optimized space for professionals.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/lobby-condominium-building_1262-3037.jpg" },
|
||||
{ title: "Family Villa", description: "Complete comfort for the entire family.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/outdoor-swimming-pool_74190-7300.jpg" },
|
||||
{ title: "Presidential View", description: "The peak of architectural luxury.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/maximalist-interior-design_23-2151898525.jpg" },
|
||||
{ title: "Penthouse Loft", description: "Panoramic city views and sky-high luxury.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/modern-interior-design-interior_23-2151929508.jpg" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
27
src/pages/HomePage/sections/Testimonials.tsx
Normal file
27
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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 TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialMarqueeOverlayCards
|
||||
tag="Testimonials"
|
||||
title="Guest Stories"
|
||||
description="Read what our cherished guests have to say about their stay."
|
||||
testimonials={[
|
||||
{ name: "Sarah Jenkins", role: "Traveler", company: "Vogue Tours", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081850.jpg" },
|
||||
{ name: "Michael Ross", role: "Executive", company: "Global Corp", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/merry-young-adult-enjoying-christmas-conversation-video-call-room-decorated-festivity-celebration-talking-woman-preparing-drink-wine-kitchen-with-joyful-ornaments_482257-28400.jpg" },
|
||||
{ name: "Elena Visser", role: "Designer", company: "Creative Hub", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/woman-white-dress-summer-resort-hotel-wearing-sunglasses-stylish-accessories_285396-199.jpg" },
|
||||
{ name: "David Thorne", role: "Investor", company: "Ventures Ltd", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-teenage-girl-with-camera-smiling_74855-21330.jpg" },
|
||||
{ name: "Linda Wu", role: "Architect", company: "Urban Studio", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/man-formalwear-standing-wardrobe_171337-19155.jpg" }
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user