Merge version_2 into main #4
@@ -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 (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
@@ -46,8 +60,8 @@ export default function LandingPage() {
|
||||
imageAlt="Interior acolhedor da Tasquinha do Fujacal"
|
||||
mediaAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "Ver Menu", href: "#menu" },
|
||||
{ text: "Reservar Mesa", href: "#contact" },
|
||||
{ text: "Ver Menu", onClick: handleMenuClick },
|
||||
{ text: "Reservar Mesa", onClick: handleReserveTableClick },
|
||||
]}
|
||||
background={{ variant: "plain" }}
|
||||
testimonials={[
|
||||
@@ -78,7 +92,7 @@ export default function LandingPage() {
|
||||
title="A Tasquinha do Fujacal é um restaurante familiar em Braga que celebra a autenticidade da cozinha portuguesa tradicional. Num ambiente típico de tasca, servimos pratos caseiros preparados com ingredientes frescos e receitas transmitidas há gerações. Somos conhecidos pela qualidade do nosso bacalhau à Braga e pela comida genuinamente portuguesa que traz os clientes de volta."
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Contacte-nos", href: "#contact" },
|
||||
{ text: "Contacte-nos", onClick: handleReserveTableClick },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -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" }}
|
||||
|
||||
Reference in New Issue
Block a user