diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 60df0e2..1ae18f4 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -29,11 +29,10 @@ export default function BlogPage() { @@ -63,8 +62,8 @@ export default function BlogPage() { - - ); } diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 962aee5..49cb5ab 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -1,4 +1,4 @@ -use client"; +"use client"; import { Suspense, use, useCallback } from "react"; import { useRouter } from "next/navigation"; @@ -88,12 +88,17 @@ function ProductPageContent({ params }: ProductPageProps) { headingFontWeight="normal" > - + setCartOpen(true) }} /> + setCartOpen(true)} + className="absolute top-0 right-0 m-4 z-[60] px-4 py-2 bg-primary-cta text-primary-cta-text rounded-md hover:opacity-90 transition-opacity" + > + Cart + {isLoading ? ( @@ -161,8 +166,8 @@ function ProductPageContent({ params }: ProductPageProps) { - + setCartOpen(true) }} /> + setCartOpen(true)} + className="absolute top-0 right-0 m-4 z-[60] px-4 py-2 bg-primary-cta text-primary-cta-text rounded-md hover:opacity-90 transition-opacity" + > + Cart + {isLoading ? ( @@ -103,8 +108,8 @@ function ShopPageContent() {