diff --git a/src/app/page.tsx b/src/app/page.tsx index a268352..bb91533 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -45,7 +45,7 @@ export default function LandingPage() { name: "Contact", id: "contact"}, ]} button={{ - text: "Book Now", href: "#contact"}} + text: "Book Now", onClick: () => window.location.href = "mailto:vukasinpopovic@gmail.com?subject=Consultation Booking"}} brandName="Popovic Dentist" /> @@ -71,7 +71,7 @@ export default function LandingPage() { avatarText="4.9★ average · International patients welcome" buttons={[ { - text: "Book a Consultation", href: "#contact"}, + text: "Book a Consultation", onClick: () => window.location.href = "mailto:vukasinpopovic@gmail.com?subject=Consultation Booking"}, { text: "See Patient Stories", href: "#testimonials"}, ]} @@ -249,7 +249,7 @@ export default function LandingPage() { text="Ready to transform your smile? Call us at 021451637 or email vukasinpopovic@gmail.com to book your consultation today." buttons={[ { - text: "Book a Consultation", href: "#"}, + text: "Book a Consultation", onClick: () => window.location.href = "mailto:vukasinpopovic@gmail.com?subject=Consultation Booking"}, ]} />