Merge version_1 into main #1
@@ -74,6 +74,15 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() });
|
||||
}, [cartItems, checkout, getCheckoutItems]);
|
||||
|
||||
const navItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Blog", id: "/blog" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
];
|
||||
|
||||
if (isLoading) {
|
||||
return (
|
||||
<ThemeProvider
|
||||
@@ -89,10 +98,10 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
headingFontWeight="light"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
brandName="Olla"
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }, { name: "Contact", id: "/contact" }]}
|
||||
navItems={navItems}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
@@ -108,7 +117,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
]}
|
||||
logoText="Olla"
|
||||
copyrightText="© 2024 Olla Flowers Studio. All rights reserved."
|
||||
useInvertedBackground={false}
|
||||
ariaLabel="Site footer"
|
||||
/>
|
||||
</div>
|
||||
@@ -132,10 +140,10 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
headingFontWeight="light"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
brandName="Olla"
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }, { name: "Contact", id: "/contact" }]}
|
||||
navItems={navItems}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
@@ -159,7 +167,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
]}
|
||||
logoText="Olla"
|
||||
copyrightText="© 2024 Olla Flowers Studio. All rights reserved."
|
||||
useInvertedBackground={false}
|
||||
ariaLabel="Site footer"
|
||||
/>
|
||||
</div>
|
||||
@@ -182,10 +189,10 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
headingFontWeight="light"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
brandName="Olla"
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "Shop", id: "/shop" }, { name: "Contact", id: "/contact" }]}
|
||||
navItems={navItems}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
@@ -234,7 +241,6 @@ function ProductPageContent({ params }: ProductPageProps) {
|
||||
]}
|
||||
logoText="Olla"
|
||||
copyrightText="© 2024 Olla Flowers Studio. All rights reserved."
|
||||
useInvertedBackground={false}
|
||||
ariaLabel="Site footer"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user