|
|
|
|
@@ -1,50 +1,110 @@
|
|
|
|
|
// 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 FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
|
|
|
|
|
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
|
|
|
|
import TextAnimation from "@/components/ui/TextAnimation";
|
|
|
|
|
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
|
|
|
|
import ScrollReveal from "@/components/ui/ScrollReveal";
|
|
|
|
|
|
|
|
|
|
export default function RoomsSection(): React.JSX.Element {
|
|
|
|
|
const items = [
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed_1203-9643.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-beautiful-luxury-dark-wood-european-classic-bedroom-suite-hotel_105762-2164.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/steel-faucet-bathtub-bathroom-interior-with-window_169016-26296.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/men-looking-out-window-cafe_23-2147775903.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/spa-complements_23-2147645728.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/side-view-women-gym_23-2148503087.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/wide-view-dining-hall-classic-design_114579-2224.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/luxury-bedroom-suite-resort-high-rise-hotel-with-working-table_105762-1783.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/relaxing-area-with-two-chairs-small-table_1203-3222.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/modern-studio-apartment-design-with-bedroom-living-space_1262-12375.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const spans = [
|
|
|
|
|
"md:col-span-2",
|
|
|
|
|
"md:col-span-1",
|
|
|
|
|
"md:col-span-1",
|
|
|
|
|
"md:col-span-1",
|
|
|
|
|
"md:col-span-2",
|
|
|
|
|
"md:col-span-1",
|
|
|
|
|
"md:col-span-1",
|
|
|
|
|
"md:col-span-1",
|
|
|
|
|
"md:col-span-2",
|
|
|
|
|
"md:col-span-2",
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div id="rooms" data-section="rooms">
|
|
|
|
|
<SectionErrorBoundary name="rooms">
|
|
|
|
|
<FeaturesImageBento
|
|
|
|
|
tag="Our Accommodations"
|
|
|
|
|
title="Rooms & Suites Gallery"
|
|
|
|
|
description="Explore our lavish rooms and opulent suites, each meticulously designed for comfort and elegance. From breathtaking city views to serene garden vistas, find your perfect sanctuary."
|
|
|
|
|
items={[
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed_1203-9643.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-beautiful-luxury-dark-wood-european-classic-bedroom-suite-hotel_105762-2164.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/steel-faucet-bathtub-bathroom-interior-with-window_169016-26296.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/men-looking-out-window-cafe_23-2147775903.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/spa-complements_23-2147645728.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/side-view-women-gym_23-2148503087.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
imageSrc: "http://img.b2bpic.net/free-photo/wide-view-dining-hall-classic-design_114579-2224.jpg",
|
|
|
|
|
href: "#",
|
|
|
|
|
},
|
|
|
|
|
]}
|
|
|
|
|
/>
|
|
|
|
|
</SectionErrorBoundary>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="rooms" data-section="rooms" className="">
|
|
|
|
|
<SectionErrorBoundary name="rooms">
|
|
|
|
|
<div className="flex flex-col gap-8 mx-auto w-content-width">
|
|
|
|
|
<div className="flex flex-col items-center gap-2">
|
|
|
|
|
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
|
|
|
|
<p>Our Accommodations</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<TextAnimation
|
|
|
|
|
text="Rooms & Suites Gallery"
|
|
|
|
|
variant="fade"
|
|
|
|
|
gradientText={true}
|
|
|
|
|
tag="h2"
|
|
|
|
|
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<TextAnimation
|
|
|
|
|
text="Explore our lavish rooms and opulent suites, each meticulously designed for comfort and elegance. From breathtaking city views to serene garden vistas, find your perfect sanctuary."
|
|
|
|
|
variant="fade"
|
|
|
|
|
gradientText={false}
|
|
|
|
|
tag="p"
|
|
|
|
|
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ScrollReveal variant="fade-blur">
|
|
|
|
|
<div className="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4 xl:gap-5 2xl:gap-6">
|
|
|
|
|
{items.map((item, index) => (
|
|
|
|
|
<a
|
|
|
|
|
key={index}
|
|
|
|
|
href={item.href}
|
|
|
|
|
className={`block relative h-64 md:h-80 card rounded overflow-hidden group ${spans[index] ||"md:col-span-1"}`}
|
|
|
|
|
>
|
|
|
|
|
<ImageOrVideo
|
|
|
|
|
imageSrc={item.imageSrc}
|
|
|
|
|
className="absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"
|
|
|
|
|
/>
|
|
|
|
|
</a>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
</ScrollReveal>
|
|
|
|
|
</div>
|
|
|
|
|
</SectionErrorBoundary>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|