From a6db606776e5f12fbeb15bf74a1cb5ba1b5a6fb2 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 12:39:29 +0000 Subject: [PATCH 1/2] Update src/components/sections/hero/HeroExpand.tsx --- src/components/sections/hero/HeroExpand.tsx | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/components/sections/hero/HeroExpand.tsx b/src/components/sections/hero/HeroExpand.tsx index 8895dea..51a9e9c 100644 --- a/src/components/sections/hero/HeroExpand.tsx +++ b/src/components/sections/hero/HeroExpand.tsx @@ -1,6 +1,3 @@ -import { useState, useEffect } from 'react'; -import { motion, AnimatePresence } from 'framer-motion'; - interface HeroExpandProps { title: string; description: string; @@ -8,25 +5,12 @@ interface HeroExpandProps { } export default function HeroExpand({ title, description, onComplete }: HeroExpandProps) { - const [expanded, setExpanded] = useState(false); - - useEffect(() => { - if (expanded && onComplete) { - onComplete(); - } - }, [expanded, onComplete]); - return (
- setExpanded(!expanded)} - className="cursor-pointer overflow-hidden bg-white p-8 rounded-xl shadow-lg" - > +

{title}

{description}

- +
); } -- 2.49.1 From 851de1ddf612bcf31e30b1ce98a99d67512de7e3 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 12:39:29 +0000 Subject: [PATCH 2/2] Update src/templates/hotel/page.tsx --- src/templates/hotel/page.tsx | 137 ++--------------------------------- 1 file changed, 6 insertions(+), 131 deletions(-) diff --git a/src/templates/hotel/page.tsx b/src/templates/hotel/page.tsx index a292581..26e76c9 100644 --- a/src/templates/hotel/page.tsx +++ b/src/templates/hotel/page.tsx @@ -1,135 +1,10 @@ -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 HeroExpand from "@/components/sections/hero/HeroExpand"; -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 HeroExpand from '@/components/sections/hero/HeroExpand'; -export default function HotelTemplate() { +export default function HotelPage() { return ( - - - - - - - - -
- -
- -
- -
- -
- -
- -
- -
- -
-
- -
- -
- - -
-
+ ); } -- 2.49.1