Update src/app/donate/page.tsx

This commit is contained in:
2026-02-13 11:43:56 +00:00
parent 3711a7fa6e
commit 0244c55343

View File

@@ -5,6 +5,7 @@ import ContactText from '@/components/sections/contact/ContactText';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterBase from '@/components/sections/footer/FooterBase';
import Link from "next/link";
export default function DonatePage() {
const navItems = [
@@ -57,7 +58,7 @@ export default function DonatePage() {
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="get-involved" data-section="get-involved">
@@ -93,7 +94,7 @@ export default function DonatePage() {
<div id="happy-stories" data-section="happy-stories">
<TestimonialCardFifteen
testimonial="\"My donation to Hope Haven helped cover medical costs for a dog that was hit by a car. Knowing I made a direct impact on saving a life is incredibly rewarding.\""
testimonial="My donation to Hope Haven helped cover medical costs for a dog that was hit by a car. Knowing I made a direct impact on saving a life is incredibly rewarding."
rating={5}
author="Emily Rodriguez, Donor"
avatars={[