Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e9aaf54681 | |||
| 4604c0cc45 | |||
| 1182413a81 | |||
| bd8d5b7158 | |||
| c46db2fe9a | |||
| 46f1ccc6e6 | |||
| ff753f42e4 |
1411
src/app/layout.tsx
1411
src/app/layout.tsx
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,11 @@ import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
import { Sparkles, Heart, Zap, Phone, Clock, MapPin, MessageCircle, Check, Mail, Bell, Calendar, Send, Camera, Star, Truck } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleOrderFormSubmit = (name: string) => {
|
||||
const message = encodeURIComponent(`Hola, quiero ordenar. Mi nombre es: ${name}`);
|
||||
window.open(`https://wa.me/56942082013?text=${message}`, '_blank');
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -72,7 +77,7 @@ export default function LandingPage() {
|
||||
{ type: "text", content: "Planeta Brunch es tu lugar favorito para desayunar y almorzar / Planeta Brunch is your favorite place to breakfast and brunch" }
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Ver Menú Completo / View Full Menu", href: "#menu" }
|
||||
{ text: "Ver Menú Completo / View Full Menu", href: "https://wa.me/56942082013" }
|
||||
]}
|
||||
buttonAnimation="blur-reveal"
|
||||
useInvertedBackground={false}
|
||||
@@ -110,7 +115,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Ver Menú Completo / View Full Menu", href: "tel:+56942082013" }
|
||||
{ text: "Ver Menú Completo / View Full Menu", href: "https://wa.me/56942082013" }
|
||||
]}
|
||||
buttonAnimation="blur-reveal"
|
||||
carouselMode="buttons"
|
||||
@@ -251,7 +256,7 @@ export default function LandingPage() {
|
||||
<ContactSplit
|
||||
tag="Solicitud"
|
||||
title="Solicita Tu Pedido / Request Your Order"
|
||||
description="Llena este formulario y nos contactaremos dentro de 30 minutos / Fill this form and we'll contact you within 30 minutes"
|
||||
description="Envíanos un mensaje a WhatsApp para ordenar tu brunch favorito / Send us a WhatsApp message to order your favorite brunch"
|
||||
tagIcon={Send}
|
||||
tagAnimation="opacity"
|
||||
background={{ variant: "plain" }}
|
||||
@@ -261,8 +266,9 @@ export default function LandingPage() {
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="left"
|
||||
inputPlaceholder="Tu nombre / Your name"
|
||||
buttonText="Enviar / Submit"
|
||||
termsText="Llamada confirmada al número registrado / Confirmed call to registered number"
|
||||
buttonText="Enviar a WhatsApp / Send WhatsApp"
|
||||
termsText="Conectarás directamente con nosotros / You'll connect directly with us"
|
||||
onSubmit={handleOrderFormSubmit}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user