diff --git a/src/app/page.tsx b/src/app/page.tsx
index 7f88a2b..d6ab9b2 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -13,6 +13,13 @@ import TestimonialCardSixteen from '@/components/sections/testimonial/Testimonia
import { Award, Calendar, DollarSign, User } from "lucide-react";
export default function LandingPage() {
+ const handleContactClick = () => {
+ const element = document.getElementById('contact');
+ if (element) {
+ element.scrollIntoView({ behavior: 'smooth' });
+ }
+ };
+
return (
@@ -45,7 +52,7 @@ export default function LandingPage() {
background={{ variant: "gradient-bars" }}
title="Expert Care. Personal Touch. Beautiful Results."
description="Orlando’s premier destination for expert hair color, precision nails, and the dedicated attention you deserve."
- buttons={[{ text: "Schedule Your Transformation", href: "#contact" }]}
+ buttons={[{ text: "Schedule Your Transformation", onClick: handleContactClick }]}
imageSrc="http://img.b2bpic.net/free-photo/close-up-details-hairdresser-salon_23-2149205859.jpg"
imageAlt="Salon transformation"
/>
@@ -121,7 +128,7 @@ export default function LandingPage() {
]}
ctaTitle="Ready to look and feel your best?"
ctaDescription="Visit us at 1794 N Chickasaw Trail, Orlando, FL."
- ctaButton={{ text: "Book Your Visit", href: "#" }}
+ ctaButton={{ text: "Book Your Visit", onClick: handleContactClick }}
ctaIcon={Calendar}
/>
@@ -130,7 +137,7 @@ export default function LandingPage() {