From ec719c90e35922d5f9b6ca35cf4efd4306e02149 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 23 Apr 2026 17:07:42 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c4f3799..4490f44 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -54,9 +54,9 @@ export default function LandingPage() { tag="Expert Dental Care" buttons={[ { - text: "Call for Free Consultation", href: "tel:+919999999999"}, + text: "Call for Free Consultation", onClick: () => { window.location.href = "tel:+919999999999"; }}, { - text: "Book Appointment", href: "#contact"}, + text: "Book Appointment", onClick: () => { document.querySelector("#contact")?.scrollIntoView({ behavior: "smooth" }); }}, ]} mediaItems={[ { @@ -191,4 +191,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1