From 8df227c4e472395f238faeb42944a091d5092a21 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 20 Feb 2026 13:50:19 +0000 Subject: [PATCH 1/4] Update src/app/blog/page.tsx --- src/app/blog/page.tsx | 54 +++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index f80f1d4..58205b4 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -10,6 +10,14 @@ import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; export default function BlogPage() { const { posts, isLoading } = useBlogPosts(); + const navItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "/#about" }, + { name: "Features", id: "/#features" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "Contact", id: "/#contact" }, + ]; + return ( - + + {isLoading ? (

Loading posts...

) : ( - +
+ +
)} - - +
); -- 2.49.1 From 967904819f9ef20904cc8f0e719c2bb4fa734280 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 20 Feb 2026 13:50:21 +0000 Subject: [PATCH 2/4] Update src/app/page.tsx --- src/app/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6436a07..961b924 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -34,7 +34,6 @@ export default function SitePage() { { name: "Features", id: "features" }, { name: "Testimonials", id: "testimonials" }, { name: "Join", id: "social-proof" }, - { name: "Blog", id: "blog" }, { name: "Contact", id: "contact" }, ]} brandName="Garry Potter Club" @@ -45,7 +44,6 @@ export default function SitePage() { Date: Fri, 20 Feb 2026 13:50:21 +0000 Subject: [PATCH 3/4] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 114 ++++++++++++++++++------------------- 1 file changed, 55 insertions(+), 59 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 2edd5eb..48e212e 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -1,4 +1,4 @@ -use client"; +"use client"; import { use, useCallback } from "react"; import { useRouter } from "next/navigation"; @@ -66,6 +66,14 @@ export default function ProductPage({ params }: ProductPageProps) { await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() }); }, [cartItems, checkout, getCheckoutItems]); + const navItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "/#about" }, + { name: "Features", id: "/#features" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "Contact", id: "/#contact" }, + ]; + if (isLoading) { return ( - - +

Loading product...

@@ -113,17 +117,13 @@ export default function ProductPage({ params }: ProductPageProps) { secondaryButtonStyle="layered" headingFontWeight="bold" > + -

Product not found

@@ -153,52 +153,48 @@ export default function ProductPage({ params }: ProductPageProps) { secondaryButtonStyle="layered" headingFontWeight="bold" > - - +
- 0 ? variants : undefined} - quantity={quantityVariant} - ribbon={meta.ribbon} - inventoryStatus={meta.inventoryStatus} - inventoryQuantity={meta.inventoryQuantity} - sku={meta.sku} - buttons={[ - { text: "Add To Cart", onClick: handleAddToCart }, - { text: "Buy Now", onClick: handleBuyNow }, - ]} - /> + 0 ? variants : undefined} + quantity={quantityVariant} + ribbon={meta.ribbon} + inventoryStatus={meta.inventoryStatus} + inventoryQuantity={meta.inventoryQuantity} + sku={meta.sku} + buttons={[ + { text: "Add To Cart", onClick: handleAddToCart }, + { text: "Buy Now", onClick: handleBuyNow }, + ]} + />
- setCartOpen(false)} - items={cartItems} - onQuantityChange={updateQuantity} - onRemove={removeItem} - total={`$${cartTotal}`} - buttons={[ - { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, - ]} - /> + setCartOpen(false)} + items={cartItems} + onQuantityChange={updateQuantity} + onRemove={removeItem} + total={`$${cartTotal}`} + buttons={[ + { + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, + }, + ]} + />