Update src/app/shop/page.tsx
This commit is contained in:
@@ -41,6 +41,13 @@ function ShopPageContent() {
|
||||
await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() });
|
||||
}, [cartItems, checkout, getCheckoutItems]);
|
||||
|
||||
const navItems = [{ name: "Home", id: "/" }];
|
||||
const footerColumns = [
|
||||
{ title: "Services", items: [{ label: "Plumbing", href: "/#services" }, { label: "Electrical", href: "/#services" }, { label: "HVAC", href: "/#services" }] },
|
||||
{ title: "Company", items: [{ label: "About Us", href: "/#about" }, { label: "Contact", href: "/#contact" }] },
|
||||
{ title: "Follow Us", items: [{ label: "Facebook", href: "https://facebook.com" }, { label: "Instagram", href: "https://instagram.com" }] }
|
||||
];
|
||||
|
||||
if (isLoading) {
|
||||
return (
|
||||
<ThemeProvider
|
||||
@@ -58,7 +65,7 @@ function ShopPageContent() {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={navItems}
|
||||
brandName="John's Business"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
className="py-3"
|
||||
@@ -72,27 +79,7 @@ function ShopPageContent() {
|
||||
</main>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "Plumbing", href: "#services" },
|
||||
{ label: "Electrical", href: "#services" },
|
||||
{ label: "HVAC", href: "#services" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Follow Us", items: [
|
||||
{ label: "Facebook", href: "https://facebook.com" },
|
||||
{ label: "Instagram", href: "https://instagram.com" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
columns={footerColumns}
|
||||
copyrightText="© 2024 John's Blue Collar Business. All rights reserved."
|
||||
ariaLabel="Footer navigation"
|
||||
className="text-foreground"
|
||||
@@ -122,7 +109,7 @@ function ShopPageContent() {
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }]}
|
||||
navItems={navItems}
|
||||
brandName="John's Business"
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
className="py-3"
|
||||
@@ -159,27 +146,7 @@ function ShopPageContent() {
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "Plumbing", href: "#services" },
|
||||
{ label: "Electrical", href: "#services" },
|
||||
{ label: "HVAC", href: "#services" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Follow Us", items: [
|
||||
{ label: "Facebook", href: "https://facebook.com" },
|
||||
{ label: "Instagram", href: "https://instagram.com" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
columns={footerColumns}
|
||||
copyrightText="© 2024 John's Blue Collar Business. All rights reserved."
|
||||
ariaLabel="Footer navigation"
|
||||
className="text-foreground"
|
||||
|
||||
Reference in New Issue
Block a user