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)}>
+
+
+ )}
);
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