Update src/app/page.tsx
This commit is contained in:
@@ -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 (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
@@ -35,7 +42,7 @@ export default function LandingPage() {
|
||||
{ name: "Reviews", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
button={{ text: "Book Appointment", href: "#contact" }}
|
||||
button={{ text: "Book Appointment", onClick: handleContactClick }}
|
||||
brandName="Kasa de Belleza"
|
||||
/>
|
||||
</div>
|
||||
@@ -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}
|
||||
/>
|
||||
</div>
|
||||
@@ -130,7 +137,7 @@ export default function LandingPage() {
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{ items: [{ label: "Home", href: "#" }, { label: "Services", href: "#services" }] },
|
||||
{ items: [{ label: "About", href: "#about" }, { label: "Contact", href: "#contact" }] }
|
||||
{ items: [{ label: "About", href: "#about" }, { label: "Contact", onClick: handleContactClick }] }
|
||||
]}
|
||||
logoText="Kasa de Belleza"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user