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