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