From 2b8768e13f19a0556cb7eeaeddb73a7b631530e3 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 10 Apr 2026 07:19:53 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 30d8053..0184bbc 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -39,7 +39,7 @@ export default function LandingPage() { ]} brandName="Medicare Hospital" button={{ - text: "Book Appointment", href: "#contact", onClick: () => { window.location.href = "#contact"; } + text: "Book Appointment", href: "#contact" }} /> @@ -152,8 +152,7 @@ export default function LandingPage() { text="Ready to get started? Our emergency department is 24/7. Book your consultation today." buttons={[ { - text: "Book Emergency Consultation", onClick: () => { alert('Form Validation: Please select your Department, Date, and Contact Information to complete booking.'); }, - }, + text: "Book Emergency Consultation", href: "https://wa.me/yournumber" }, ]} /> @@ -170,4 +169,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file