From 923545739d620a09de66de81021bab2b98170ec9 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 24 Apr 2026 02:27:18 +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 f5eb2c5..6bcdc55 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -38,7 +38,7 @@ export default function LandingPage() { { name: "Contact", id: "#contact" }, ]} brandName="Olivia Lallouz" - button={{ text: "Start Your Evaluation", href: "#contact" }} + button={{ text: "Start Your Evaluation", onClick: () => { if (window.innerWidth < 768) { window.location.href = "tel:+19544429422"; } else { window.location.href = "mailto:olivia@specializedspch.com"; } } }} /> @@ -49,7 +49,7 @@ export default function LandingPage() { description="Olivia Lallouz • Orofacial Myologist" imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ClWbrS92bXmt7LmjB3TsGBCnuR/uploaded-1776966178389-c97cn8rw.png" imageAlt="Olivia Lallouz" - buttons={[{ text: "Start Your Evaluation", href: "#contact" }]} + buttons={[{ text: "Start Your Evaluation", onClick: () => { if (window.innerWidth < 768) { window.location.href = "tel:+19544429422"; } else { window.location.href = "mailto:olivia@specializedspch.com"; } } }]} buttonClassName="bg-primary text-primary-foreground font-bold" mediaAnimation="blur-reveal" /> @@ -156,7 +156,7 @@ export default function LandingPage() { useInvertedBackground={false} background={{ variant: "plain"}} text="Ready to Transform Your Wellness?" - buttons={[{ text: "Schedule your evaluation", href: "#" }]} + buttons={[{ text: "Schedule your evaluation", onClick: () => { if (window.innerWidth < 768) { window.location.href = "tel:+19544429422"; } else { window.location.href = "mailto:olivia@specializedspch.com"; } } }]} className="text-center" />
-- 2.49.1