From df703dd9cac53ddcb04a6a1faed26bff497e497f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:16:52 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9310436..9c3cc0f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,6 +11,24 @@ import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis' import { Building2, CheckCircle, Gauge, Phone, Power, Shield, Star, Target, Wrench, Zap } from 'lucide-react'; export default function LandingPage() { + const handleTeamClick = () => { + const aboutSection = document.getElementById('about'); + if (aboutSection) { + aboutSection.scrollIntoView({ behavior: 'smooth' }); + } + }; + + const handleBudgetRequest = () => { + const contactSection = document.getElementById('contact'); + if (contactSection) { + contactSection.scrollIntoView({ behavior: 'smooth' }); + } + }; + + const handleCallNow = () => { + window.location.href = 'tel:+34666175015'; + }; + return ( @@ -172,7 +190,7 @@ export default function LandingPage() { imageAlt="Taller Talleres VR en Pamplona - Interior profesional" useInvertedBackground={false} buttons={[ - { text: "Solicita presupuesto", href: "#contact" } + { text: "Solicita presupuesto", onClick: handleBudgetRequest } ]} />