Update src/app/shop/page.tsx
This commit is contained in:
@@ -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 (
|
||||
<ThemeProvider {...themeProps}>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered {...navbarProps} />
|
||||
</div>
|
||||
<div id="loading-state" data-section="loading-state">
|
||||
@@ -78,7 +79,7 @@ export default function ShopPage() {
|
||||
return (
|
||||
<ThemeProvider {...themeProps}>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered {...navbarProps} />
|
||||
</div>
|
||||
<div id="product-catalog" data-section="product-catalog">
|
||||
|
||||
Reference in New Issue
Block a user