Update HeroSection component to correct therapist title and add smooth scroll functionality to the "Learn More" button for improved navigation experience.

This commit is contained in:
iamkiddy 2025-11-12 12:24:36 +00:00
parent d9ddfee0cf
commit 486feec8bc

View File

@ -120,7 +120,7 @@ export function HeroSection() {
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.4 }}
>
Nathalie Mac Guffie, LCSW
Nathalie Mac-Guffie, LMHC
</motion.p>
<motion.p
@ -155,6 +155,12 @@ export function HeroSection() {
size="lg"
variant="outline"
className="cursor-pointer hover:scale-105 hover:bg-gray-100 dark:hover:bg-gray-800 hover:border-cyan-300 dark:hover:border-gray-300 hover:text-gray-900 dark:hover:text-gray-100 transition-all"
onClick={() => {
const servicesSection = document.getElementById('services');
if (servicesSection) {
servicesSection.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
}}
>
Learn More
</Button>