From 468ff52c3d793a36b6fe251b0d846dd9d12d038a Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 8 Mar 2026 22:42:13 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c7083ad..85403fb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,6 +12,10 @@ import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; export default function LandingPage() { + const handleCallNow = () => { + window.location.href = "tel:+1234567890"; + }; + return ( @@ -51,7 +55,7 @@ export default function LandingPage() { showBlur={true} showDimOverlay={false} buttons={[ - { text: "CALL NOW", href: "tel:+1234567890" }, + { text: "CALL NOW", onClick: handleCallNow }, { text: "GET A TOW", href: "#contact" }, ]} buttonAnimation="blur-reveal" @@ -196,7 +200,7 @@ export default function LandingPage() { title="Stuck on the Road? We'll Get You Moving Again." description="Don't wait in an emergency. Our team is standing by to help you right now. Call for fast, professional service." buttons={[ - { text: "CALL NOW", href: "tel:+1234567890" }, + { text: "CALL NOW", onClick: handleCallNow }, { text: "EMAIL US", href: "mailto:info@qk83towing.com" }, ]} buttonAnimation="slide-up" -- 2.49.1