Merge version_16 into main #35
@@ -22,6 +22,13 @@ export default function LandingPage() {
|
||||
}
|
||||
};
|
||||
|
||||
const handleLearnMore = () => {
|
||||
const featureHoverSection = document.getElementById('feature-hover');
|
||||
if (featureHoverSection) {
|
||||
featureHoverSection.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -64,7 +71,7 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
buttons={[
|
||||
{ text: "Book Appointment", onClick: handleBookAppointment },
|
||||
{ text: "Learn More", href: "#features" }
|
||||
{ text: "Learn More", onClick: handleLearnMore }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/close-up-dentist-looking-through-microscope_23-2147906021.jpg?_wi=1"
|
||||
@@ -209,7 +216,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="feature-hover" data-section="feature-hover">
|
||||
<FeatureCardMedia
|
||||
title="Dental Excellnece "
|
||||
title="Dental Excellence"
|
||||
description="Dental excellence with compassionate patient care and cutting-edge treatments."
|
||||
tag="Special Features"
|
||||
tagAnimation="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user