Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fb303a2518 | |||
| d0640cd79d | |||
| e0248e7e4d | |||
| 67fec0e0a1 |
@@ -10,6 +10,20 @@ import ContactCTA from '@/components/sections/contact/ContactCTA';
|
|||||||
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
||||||
|
|
||||||
export default function LandingPage() {
|
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 (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="bounce-effect"
|
defaultButtonVariant="bounce-effect"
|
||||||
@@ -46,8 +60,8 @@ export default function LandingPage() {
|
|||||||
imageAlt="Interior acolhedor da Tasquinha do Fujacal"
|
imageAlt="Interior acolhedor da Tasquinha do Fujacal"
|
||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Ver Menu", href: "#menu" },
|
{ text: "Ver Menu", onClick: handleMenuClick },
|
||||||
{ text: "Reservar Mesa", href: "#contact" },
|
{ text: "Reservar Mesa", onClick: handleReserveTableClick },
|
||||||
]}
|
]}
|
||||||
background={{ variant: "plain" }}
|
background={{ variant: "plain" }}
|
||||||
testimonials={[
|
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."
|
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}
|
useInvertedBackground={false}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Contacte-nos", href: "#contact" },
|
{ text: "Contacte-nos", onClick: handleReserveTableClick },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -145,7 +159,7 @@ export default function LandingPage() {
|
|||||||
title="Localização e Horário"
|
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."
|
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={[
|
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" },
|
{ text: "Google Maps", href: "https://maps.google.com/?q=Alameda+do+Fujacal+99+Braga" },
|
||||||
]}
|
]}
|
||||||
background={{ variant: "plain" }}
|
background={{ variant: "plain" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user