Merge version_3 into main #5
@@ -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"
|
||||
@@ -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