Compare commits
12 Commits
version_6_
...
version_12
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcc140c72d | ||
| b237841c42 | |||
|
|
ce48920897 | ||
| 101c7f6641 | |||
|
|
7c37b18ffd | ||
| da7de495ba | |||
|
|
ada39e3fe6 | ||
| 7f0cc4b273 | |||
|
|
20ff83b8d9 | ||
| 026cd0a078 | |||
|
|
61d5307458 | ||
| fede3905da |
@@ -1,18 +1,11 @@
|
||||
// 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 AboutText from '@/components/sections/about/AboutText';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
export default function AboutSection() {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutText
|
||||
title="Our Legacy of Hospitality"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
<section id="about" className="bg-background">
|
||||
<div className="max-w-content-width mx-auto px-6 text-center">
|
||||
{/* Text 'Our Legacy of Hospitality' removed as requested */}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -24,32 +24,36 @@ export default function HeroSection(): React.JSX.Element {
|
||||
|
||||
const timer = setInterval(() => {
|
||||
setProgress((prev) => {
|
||||
if (prev >= 100) {
|
||||
setCurrentIndex((prevIndex) => (prevIndex + 1) % images.length);
|
||||
return 0;
|
||||
}
|
||||
if (prev >= 100) return 100;
|
||||
return prev + step;
|
||||
});
|
||||
}, updateInterval);
|
||||
|
||||
return () => clearInterval(timer);
|
||||
}, [images.length]);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (progress >= 100) {
|
||||
setCurrentIndex((prevIndex) => (prevIndex + 1) % images.length);
|
||||
setProgress(0);
|
||||
}
|
||||
}, [progress, images.length]);
|
||||
|
||||
return (
|
||||
<div id="hero" data-webild-section="hero" className="w-full pt-32 pb-16 px-4 md:px-8 bg-background">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<div className="container mx-auto max-w-6xl flex flex-col items-center text-center gap-12">
|
||||
<div className="flex flex-col items-center gap-6 max-w-4xl">
|
||||
<div className="container mx-auto max-w-6xl flex flex-col items-center text-center">
|
||||
<div className="flex flex-col items-center text-center gap-4 mb-16 max-w-3xl mx-auto">
|
||||
<Tag text="Welcome to Luxury" />
|
||||
<h1 className="text-5xl md:text-7xl font-bold text-foreground">
|
||||
<h1 className="text-5xl md:text-6xl lg:text-7xl font-bold tracking-tight bg-clip-text text-transparent bg-gradient-to-b from-foreground to-foreground/70">
|
||||
Experience Unparalleled Comfort & Elegance
|
||||
</h1>
|
||||
<p className="text-lg md:text-xl text-muted-foreground max-w-2xl">
|
||||
<p className="text-lg text-muted-foreground">
|
||||
Discover a world where impeccable service meets sophisticated design. Your unforgettable journey begins here.
|
||||
</p>
|
||||
<div className="flex flex-wrap items-center justify-center gap-4 mt-4">
|
||||
<Button text="Book Your Stay" variant="primary" href="#contact" className="text-lg px-8 py-6" />
|
||||
<Button text="Explore Rooms" variant="secondary" href="#accommodation" className="text-lg px-8 py-6" />
|
||||
<div className="flex flex-wrap items-center justify-center gap-4">
|
||||
<Button text="Book Your Stay" variant="primary" href="#contact" />
|
||||
<Button text="Explore Rooms" variant="secondary" href="#accommodation" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user