diff --git a/src/app/page.tsx b/src/app/page.tsx index e0a67f0..b323c09 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -54,8 +54,8 @@ export default function LandingPage() { { src: "http://img.b2bpic.net/free-photo/beauty-style-fashion-femininity-concept-positive-beautiful-young-european-woman-blue-shirt-looking-camera-with-broad-happy-smile-being-good-mood-kitchen-interior-background_343059-2087.jpg", alt: "Guest" }, ]} buttons={[ - { text: "Book Your Stay", href: "#contact" }, - { text: "Explore Suites", href: "#suites" }, + { text: "Book Your Stay", onClick: () => document.getElementById('contact')?.scrollIntoView({ behavior: 'smooth' }) }, + { text: "Explore Suites", onClick: () => document.getElementById('suites')?.scrollIntoView({ behavior: 'smooth' }) }, ]} buttonAnimation="slide-up" avatarText="Join 5,000+ happy travelers" @@ -153,14 +153,15 @@ export default function LandingPage() { description="Contact us to secure your suite or inquire about special offers." imageSrc="http://img.b2bpic.net/free-photo/sofa_1203-2905.jpg" mediaAnimation="slide-up" + onSubmit={(email) => alert(`Thank you! We will reach out to you at ${email} shortly.`)} />