Update src/app/page.tsx

This commit is contained in:
2026-02-13 11:43:57 +00:00
parent 0244c55343
commit fcdd704e7e

View File

@@ -10,6 +10,7 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBase from '@/components/sections/footer/FooterBase';
import Link from "next/link";
export default function HomePage() {
const navItems = [
@@ -62,7 +63,7 @@ export default function HomePage() {
headingFontWeight={"light"}
>
<div id="nav" data-section="nav">
<NavbarStyleCentered navItems={navItems} button={navButton} brandName="Hope Haven" className="py-4" />
<NavbarStyleCentered navItems={navItems.map(item => ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`}))} button={navButton} brandName="Hope Haven" className="py-4" />
</div>
<div id="hero" data-section="hero">
@@ -150,7 +151,7 @@ export default function HomePage() {
<div id="happy-stories" data-section="happy-stories">
<TestimonialCardFifteen
testimonial="\"Adopting from Hope Haven was the best decision we ever made. Our new dog, Charlie, has brought so much joy into our lives. The staff was incredibly helpful and supportive throughout the whole process.\""
testimonial="Adopting from Hope Haven was the best decision we ever made. Our new dog, Charlie, has brought so much joy into our lives. The staff was incredibly helpful and supportive throughout the whole process."
rating={5}
author="Sarah Johnson, Proud Pet Parent"
avatars={[