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...

) : ( - +
+ +
)} - - +
); 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() { - - +

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, + }, + ]} + />