diff --git a/src/components/sections/hero/HeroVideoExpand.tsx b/src/components/sections/hero/HeroVideoExpand.tsx index 94eb8c9..0dee92b 100644 --- a/src/components/sections/hero/HeroVideoExpand.tsx +++ b/src/components/sections/hero/HeroVideoExpand.tsx @@ -1,6 +1,3 @@ -import { useState, useEffect, useRef } from 'react'; -import { motion, AnimatePresence } from 'framer-motion'; - interface HeroVideoExpandProps { videoSrc: string; title: string; @@ -9,19 +6,9 @@ interface HeroVideoExpandProps { } export default function HeroVideoExpand({ videoSrc, title, description, onComplete }: HeroVideoExpandProps) { - const [expanded, setExpanded] = useState(false); - const videoRef = useRef(null); - - useEffect(() => { - if (expanded && onComplete) { - onComplete(); - } - }, [expanded, onComplete]); - return (
); } diff --git a/src/templates/hotel/page.tsx b/src/templates/hotel/page.tsx index 8c56463..f9f6469 100644 --- a/src/templates/hotel/page.tsx +++ b/src/templates/hotel/page.tsx @@ -1,135 +1,11 @@ -import { ReactLenis } from "lenis/react"; -import { motion } from "motion/react"; -import { StyleProvider } from "@/components/ui/StyleProvider"; -import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot"; -import NavbarFullscreen from "@/components/ui/NavbarFullscreen"; -import HeroVideoExpand from "@/components/sections/hero/HeroVideoExpand"; -import AboutParallax from "@/components/sections/about/AboutParallax"; -import FeaturesAttributeCards from "@/components/sections/features/FeaturesAttributeCards"; -import FeaturesMediaGrid from "@/components/sections/features/FeaturesMediaGrid"; -import FeaturesRevealCardsBento from "@/components/sections/features/FeaturesRevealCardsBento"; -import FooterBrand from "@/components/sections/footer/FooterBrand"; -import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; -import "./theme.css"; +import HeroVideoExpand from '@/components/sections/hero/HeroVideoExpand'; -export default function HotelTemplate() { +export default function HotelPage() { return ( - - - - - - - - -
- -
- -
- -
- -
- -
- -
- -
- -
-
- -
- -
- - -
-
+ ); }