From ddfe7a3d6285c84595a8f28eab2bc9a126e467f9 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 14 Jun 2026 12:29:35 +0000 Subject: [PATCH 1/2] Update src/components/sections/hero/HeroVideoExpand.tsx --- .../sections/hero/HeroVideoExpand.tsx | 67 ++++++------------- 1 file changed, 21 insertions(+), 46 deletions(-) diff --git a/src/components/sections/hero/HeroVideoExpand.tsx b/src/components/sections/hero/HeroVideoExpand.tsx index abd44f0..ded84f7 100644 --- a/src/components/sections/hero/HeroVideoExpand.tsx +++ b/src/components/sections/hero/HeroVideoExpand.tsx @@ -1,62 +1,37 @@ -import { useState, useEffect, useCallback } from 'react'; -import { motion, AnimatePresence } from 'framer-motion'; +import { useState, useCallback } from 'react'; interface HeroVideoExpandProps { title: string; description: string; - videoUrl: string; - onComplete?: () => void; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; } -export default function HeroVideoExpand({ title, description, videoUrl, onComplete }: HeroVideoExpandProps) { +export default function HeroVideoExpand({ title, description, primaryButton, secondaryButton }: HeroVideoExpandProps) { const [isExpanded, setIsExpanded] = useState(false); - const handleComplete = useCallback(() => { - if (onComplete) onComplete(); - }, [onComplete]); - - useEffect(() => { - if (isExpanded) { - const timer = setTimeout(handleComplete, 3000); - return () => clearTimeout(timer); - } - }, [isExpanded, handleComplete]); - return (
- +

{title}

{description}

- - - - - {isExpanded && ( - setIsExpanded(false)} - > - - )} - +
+ + {primaryButton.text} + + +
+
+ {isExpanded && ( +
setIsExpanded(false)}> +
+

Video Player

+
+
+ )}
); -- 2.49.1 From 047494a382a3fde9a0c915f4ed02ed2c82e8901d Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 14 Jun 2026 12:29:35 +0000 Subject: [PATCH 2/2] Update src/templates/hotel/page.tsx --- src/templates/hotel/page.tsx | 144 +++-------------------------------- 1 file changed, 11 insertions(+), 133 deletions(-) diff --git a/src/templates/hotel/page.tsx b/src/templates/hotel/page.tsx index c7f35ec..4f97629 100644 --- a/src/templates/hotel/page.tsx +++ b/src/templates/hotel/page.tsx @@ -1,136 +1,14 @@ -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 FeaturesRevealCardsBentoSharp from "@/components/sections/features/FeaturesRevealCardsBentoSharp"; -import FooterBrand from "@/components/sections/footer/FooterBrand"; -import ContactSplitFormSharp from "@/components/sections/contact/ContactSplitFormSharp"; -import "./theme.css"; +import HeroVideoExpand from '@/components/sections/hero/HeroVideoExpand'; -export default function HotelTemplate() { +export default function HotelPage() { return ( - - - - - - - - -
- -
- -
- -
- -
- -
- -
- -
- -
-
- -
- -
- - -
-
+
+ +
); -} +} \ No newline at end of file -- 2.49.1