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"}
>
-
+ ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`}))} button={navButton} brandName="Hope Haven" className="py-4" />
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"}
>
-
+ ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`}))} button={navButton} brandName="Hope Haven" className="py-4" />
@@ -74,7 +75,7 @@ export default function ContactPage() {
-
+ ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`}))} button={navButton} brandName="Hope Haven" className="py-4" />
@@ -93,7 +94,7 @@ export default function DonatePage() {
-
+ ({...item, id: item.id.startsWith('/') ? item.id : `#${item.id}`}))} button={navButton} brandName="Hope Haven" className="py-4" />
@@ -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 (
-
+
@@ -129,7 +130,7 @@ export default function ProductPage({ params }: ProductPageProps) {
return (
-
+
@@ -156,7 +157,7 @@ export default function ProductPage({ params }: ProductPageProps) {
return (
-
+
diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx
index 1cfe05b..cd2c3af 100644
--- a/src/app/shop/page.tsx
+++ b/src/app/shop/page.tsx
@@ -8,6 +8,7 @@ import { useProductCatalog } from "@/hooks/useProductCatalog";
// New imports for Navbar and Footer
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterBase from '@/components/sections/footer/FooterBase';
+import Link from "next/link";
export default function ShopPage() {
const {
@@ -41,7 +42,7 @@ export default function ShopPage() {
{ 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: () => console.log("cart") }
};
@@ -59,7 +60,7 @@ export default function ShopPage() {
return (
-
+
@@ -78,7 +79,7 @@ export default function ShopPage() {
return (
-