diff --git a/src/components/sections/hero/HeroVideoExpand.tsx b/src/components/sections/hero/HeroVideoExpand.tsx index 989907e..b3f6d0f 100644 --- a/src/components/sections/hero/HeroVideoExpand.tsx +++ b/src/components/sections/hero/HeroVideoExpand.tsx @@ -1,6 +1,5 @@ import React, { useRef, useEffect, useState } from 'react'; -import { motion } from 'framer-motion'; -import { cn } from '@/utils/cn'; // Assuming this utility exists + interface HeroVideoExpandProps { title: string; @@ -52,7 +51,7 @@ const HeroVideoExpand = ({ }, [onComplete]); return ( -
+
); diff --git a/src/templates/hotel/page.tsx b/src/templates/hotel/page.tsx index 2254dac..0ce27df 100644 --- a/src/templates/hotel/page.tsx +++ b/src/templates/hotel/page.tsx @@ -1,142 +1,21 @@ -import { useState } from "react"; -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 { Fragment } from "react"; 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"; - -const HERO_VIDEO = "https://storage.googleapis.com/webild/default/templates/hotel/hero.mp4"; -const HERO_IMAGE = "https://storage.googleapis.com/webild/default/templates/hotel/hero.webp"; - -export default function HotelTemplate() { - const [loaderDone, setLoaderDone] = useState(false); +const hotelPage = () => { return ( - - - - - - - - -
- setLoaderDone(true)} - /> -
- -
- -
- -
- -
- -
- -
- -
-
- -
- -
- - -
-
+ + console.log("Video ended")} + /> + ); -} +}; + +export default hotelPage;