Compare commits
3 Commits
version_9
...
version_11
| Author | SHA1 | Date | |
|---|---|---|---|
| f8b05855c6 | |||
| 972e550dc0 | |||
| f30e94e936 |
@@ -11,9 +11,16 @@ import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
|
||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleBookAppointment = () => {
|
||||
const contactSection = document.getElementById('contact');
|
||||
if (contactSection) {
|
||||
contactSection.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -36,7 +43,7 @@ export default function LandingPage() {
|
||||
{ name: "Features", id: "features" },
|
||||
{ name: "Testimonials", id: "testimonials" }
|
||||
]}
|
||||
button={{ text: "Book Appointment", href: "#contact" }}
|
||||
button={{ text: "Book Appointment", onClick: handleBookAppointment }}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -55,7 +62,7 @@ export default function LandingPage() {
|
||||
tag="Expert Dental Care"
|
||||
tagAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "Book Appointment", href: "#contact" },
|
||||
{ text: "Book Appointment", onClick: handleBookAppointment },
|
||||
{ text: "Learn More", href: "#features" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
@@ -113,7 +120,7 @@ export default function LandingPage() {
|
||||
]}
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Book with Dr. Padmasri", href: "#contact" }
|
||||
{ text: "Book with Dr. Padmasri", onClick: handleBookAppointment }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
@@ -291,37 +298,12 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
<FooterLogoReveal
|
||||
logoText="Expert Dental Care"
|
||||
copyrightText="© 2025 Expert Dental Care. All rights reserved."
|
||||
columns={[
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "General Dentistry", href: "#services" },
|
||||
{ label: "Root Canal Treatment", href: "#services" },
|
||||
{ label: "Dental Implants", href: "#services" },
|
||||
{ label: "Cosmetic Dentistry", href: "#services" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "About", items: [
|
||||
{ label: "Dr. Padmasri Yadla", href: "#about" },
|
||||
{ label: "Patient Testimonials", href: "#testimonials" },
|
||||
{ label: "Our Features", href: "#features" },
|
||||
{ label: "Contact Us", href: "#contact" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Contact", items: [
|
||||
{ label: "Gajuwaka, Visakhapatnam", href: "#" },
|
||||
{ label: "Monday-Sunday: 10 AM – 9 PM", href: "#" },
|
||||
{ label: "Consultation: ₹250", href: "#" },
|
||||
{ label: "Book Appointment", href: "#contact" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
leftLink={{ text: "Privacy Policy", href: "#" }}
|
||||
rightLink={{ text: "Terms of Service", href: "#" }}
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user