From 15b52424815ddb96676198057e51a92c66cf84e8 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 17 Jun 2026 13:58:15 +0000 Subject: [PATCH 1/2] Update src/components/sections/hero/HeroVideoExpand.tsx --- .../sections/hero/HeroVideoExpand.tsx | 39 +++---------------- 1 file changed, 6 insertions(+), 33 deletions(-) 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 (
); } -- 2.49.1 From 1011e09aa10aca8895a3571a89fab99086b83827 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 17 Jun 2026 13:58:15 +0000 Subject: [PATCH 2/2] Update src/templates/hotel/page.tsx --- src/templates/hotel/page.tsx | 138 ++--------------------------------- 1 file changed, 7 insertions(+), 131 deletions(-) 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 ( - - - - - - - - -
- -
- -
- -
- -
- -
- -
- -
- -
-
- -
- -
- - -
-
+ ); } -- 2.49.1