diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 4e44c3b..489bd1e 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -5,6 +5,7 @@ import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import FooterBase from '@/components/sections/footer/FooterBase'; +import Link from "next/link"; export default function AboutPage() { const navItems = [ @@ -57,7 +58,7 @@ export default function AboutPage() { headingFontWeight={"light"} >
diff --git a/src/app/adopt/page.tsx b/src/app/adopt/page.tsx index 35710a3..2a3b26a 100644 --- a/src/app/adopt/page.tsx +++ b/src/app/adopt/page.tsx @@ -6,6 +6,7 @@ import FeatureHoverPattern from '@/components/sections/feature/featureHoverPatte import { Home, HeartHandshake, Stethoscope, Family } from "lucide-react"; import ContactText from '@/components/sections/contact/ContactText'; import FooterBase from '@/components/sections/footer/FooterBase'; +import Link from "next/link"; export default function AdoptPage() { const navItems = [ @@ -58,7 +59,7 @@ export default function AdoptPage() { headingFontWeight={"light"} >
diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 420e8b4..bae9377 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -6,6 +6,7 @@ import FooterBase from "@/components/sections/footer/FooterBase"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; import { useBlogPosts } from "@/hooks/useBlogPosts"; +import Link from "next/link"; export default function BlogPage() { const { posts, isLoading } = useBlogPosts(); @@ -34,7 +35,7 @@ export default function BlogPage() { { name: "Donate", id: "/donate" }, { name: "Shop", id: "/shop" }, { name: "Blog", id: "/blog" } - ]} + ].map(item => ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`}))} button={{ text: "Donate", href: "/donate" }} brandName="Hope Haven" className="py-4" diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index a14bbb8..5f7ea94 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -5,6 +5,7 @@ import ContactText from '@/components/sections/contact/ContactText'; import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen'; import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import FooterBase from '@/components/sections/footer/FooterBase'; +import Link from "next/link"; export default function ContactPage() { const navItems = [ @@ -57,7 +58,7 @@ export default function ContactPage() { headingFontWeight={"light"} >
@@ -74,7 +75,7 @@ export default function ContactPage() {
@@ -93,7 +94,7 @@ export default function DonatePage() {
@@ -150,7 +151,7 @@ export default function HomePage() {
; @@ -91,7 +92,7 @@ export default function ProductPage({ params }: ProductPageProps) { { name: "Shop", id: "/shop" }, { name: "Donate", id: "/donate" }, { name: "Blog", id: "/blog" } - ], + ].map(item => ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`})), brandName: "Hope Haven", className: "py-4", button: { text: "Cart", onClick: () => setCartOpen(true) } }; @@ -109,7 +110,7 @@ export default function ProductPage({ params }: ProductPageProps) { return ( -