"use client"; import { useEffect, useState } from "react"; import SmoothScroll from "@/components/SmoothScroll"; import EntranceExperience from "@/components/EntranceExperience"; import RestaurantStory from "@/components/RestaurantStory"; import ChefShowcase from "@/components/ChefShowcase"; import InteriorGallery from "@/components/InteriorGallery"; import Testimonials from "@/components/Testimonials"; import EventsAccordion from "@/components/EventsAccordion"; import MenuPreview from "@/components/MenuPreview"; import ReservationForm from "@/components/ReservationForm"; import RouteMap from "@/components/RouteMap"; import Footer from "@/components/Footer"; import CustomCursor from "@/components/CustomCursor"; import SoundManager from "@/components/SoundManager"; export default function Home() { const [mounted, setMounted] = useState(false); useEffect(() => { setMounted(true); }, []); return (
{/* Isolated wrapper for client-only widgets to prevent hydration insertion conflicts */}
{mounted && } {mounted && }
{/* Lenis Scroll syncing with GSAP triggers */} {/* Sections 1 & 2: Landing Exterior Zoom & Door opening into Welcome reception */} {/* Section 3: Heritage Story timeline */} {/* Section 4: Premium Breakfast Menu Card Section */} {/* Section 5: Chef Sundaram showcase with canvas heat waves */} {/* Section 6: GSAP Horizontal space gallery */} {/* Section 7: 3D-tilting Testimonials diaries */} {/* Section 8: Expanding Special Events Accordion */} {/* Section 9: Reservation Form with canvas sparks */} {/* Section 11: Cartographic Route SVG Map with animated Chariot */} {/* Section 12: Footer with hanging Toran, contact logs and floating diyas */}
); }