"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 SpatialSanctuary from "@/components/SpatialSanctuary"; import EventsAccordion from "@/components/EventsAccordion"; import MenuPreview from "@/components/MenuPreview"; import CulinaryCategories from "@/components/CulinaryCategories"; import Footer from "@/components/Footer"; import CustomCursor from "@/components/CustomCursor"; import SoundManager from "@/components/SoundManager"; import Header from "@/components/Header"; export default function Home() { const [mounted, setMounted] = useState(false); const [headerVisible, setHeaderVisible] = useState(false); useEffect(() => { setMounted(true); }, []); return (
{/* Isolated wrapper for client-only widgets to prevent hydration insertion conflicts */}
{mounted && } {mounted && } {mounted &&
}
{/* Lenis Scroll syncing with GSAP triggers */} {/* Sections 1 & 2: Landing Exterior Zoom & Door opening into Welcome reception */} { console.log("[DEBUG onProgress]", p, "headerVisible:", p > 0.95); setHeaderVisible(p > 0.95); }} /> {/* Section 3: Heritage Story timeline */} {/* Section 3.5: Culinary Categories */} {/* Section 4: Premium Breakfast Menu Card Section */} {/* Section 5: Chef Sundaram showcase with canvas heat waves */} {/* Section 5.5: The Spatial Sanctuary details */} {/* Section 8: Expanding Special Events Accordion */} {/* Section 12: Footer with hanging Toran, contact logs and floating diyas */}
); }