diff --git a/src/app/page.tsx b/src/app/page.tsx index f7f5b77..50fb24e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,6 +10,20 @@ import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; export default function LandingPage() { + const handleReserveTableClick = () => { + const element = document.getElementById('contact'); + if (element) { + element.scrollIntoView({ behavior: 'smooth' }); + } + }; + + const handleMenuClick = () => { + const element = document.getElementById('menu'); + if (element) { + element.scrollIntoView({ behavior: 'smooth' }); + } + }; + return ( @@ -145,7 +159,7 @@ export default function LandingPage() { title="Localização e Horário" description="Alameda do Fujacal 99, Braga\n\n📞 253 260 020\n\n🕒 Seg-Sáb: 11:30-14:30 / 19:00-21:30\n🕒 Domingo: Fechado\n\nReserve a sua mesa para garantir lugar." buttons={[ - { text: "Reservar Mesa", href: "tel:253260020" }, + { text: "Reservar Mesa", onClick: handleReserveTableClick }, { text: "Google Maps", href: "https://maps.google.com/?q=Alameda+do+Fujacal+99+Braga" }, ]} background={{ variant: "plain" }}