diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 7320b39..f621243 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -9,31 +9,28 @@ import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; const navItems = [ { name: "Home", id: "/" }, - { name: "About Us", id: "about-us" }, - { name: "Process", id: "adoption-process" }, - { name: "Pets", id: "available-pets" }, - { name: "Success", id: "success-stories" }, - { name: "FAQs", id: "faq" }, - { name: "Contact", id: "contact-us" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" }, + { name: "Contact", id: "/#contact-us" }, ]; const footerColumns = [ { title: "Adoption", items: [ - { label: "Available Pets", href: "#available-pets" }, - { label: "Adoption Process", href: "#adoption-process" }, + { label: "Available Pets", href: "/#available-pets" }, + { label: "Adoption Process", href: "/#adoption-process" }, ], }, { title: "Get Involved", items: [ - { label: "Volunteer", href: "#contact-us" }, + { label: "Volunteer", href: "/#contact-us" }, { label: "Donate", href: "https://example.com/donate" }, ], }, { title: "About Us", items: [ - { label: "Our Mission", href: "#about-us" }, - { label: "Contact Us", href: "#contact-us" }, + { label: "Our Mission", href: "/#about-us" }, + { label: "Contact Us", href: "/#contact-us" }, ], }, ]; diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index f0eb885..5f8d6fd 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -1,4 +1,4 @@ -use client"; +"use client"; import { Suspense, use, useCallback } from "react"; import { useRouter } from "next/navigation"; @@ -16,6 +16,13 @@ interface ProductPageProps { params: Promise<{ id: string }>; } +const navItems = [ + { name: "Home", id: "/" }, + { name: "Blog", id: "/blog" }, + { name: "Shop", id: "/shop" }, + { name: "Contact", id: "/#contact-us" }, +]; + export default function ProductPage({ params }: ProductPageProps) { return ( @@ -89,20 +96,10 @@ function ProductPageContent({ params }: ProductPageProps) { headingFontWeight="bold" > -