From ef2df3d051951f870edd2a490a68081b5f759f5a Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 23 Feb 2026 14:35:27 +0000 Subject: [PATCH 1/4] Update src/app/blog/page.tsx --- src/app/blog/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 37ac06d..8d4e0d9 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -27,10 +27,10 @@ export default function BlogPage() { Date: Mon, 23 Feb 2026 14:35:29 +0000 Subject: [PATCH 2/4] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e8a3704..e1df991 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -41,10 +41,10 @@ export default function SitePage() { background={{ variant: 'plain' }} mediaItems={[ { imageSrc: 'https://img.b2bpic.net/free-photo/portrait-smiling-waitress-using-coffee-machine_107420-12297.jpg', imageAlt: 'Cozy coffeeshop interior' }, - { imageSrc: 'https://img.b2bpic.net/free-photo/coffee-cup-with-cookies-coffee-beans-grinded-coffee-cinnamon-sticks-top-view-grey-plaster-background_176474-64438.jpg?_wi=1', imageAlt: 'A cup of coffee with latte art' }, - { imageSrc: 'https://img.b2bpic.net/free-photo/bakery-atmospheric-photo_1321-4640.jpg?_wi=1', imageAlt: 'Freshly baked pastries on display' }, - { imageSrc: 'https://img.b2bpic.net/free-photo/close-up-coffee-with-heart_1203-1992.jpg?_wi=1', imageAlt: 'Barista making latte art' }, - { imageSrc: 'https://img.b2bpic.net/free-photo/smiley-friends-cafe-enjoying-their-time_23-2148735439.jpg?_wi=1', imageAlt: 'Customer enjoying coffee in a cafe' } + { imageSrc: 'https://img.b2bpic.net/free-photo/coffee-cup-with-cookies-coffee-beans-grinded-coffee-cinnamon-sticks-top-view-grey-plaster-background_176474-64438.jpg', imageAlt: 'A cup of coffee with latte art' }, + { imageSrc: 'https://img.b2bpic.net/free-photo/bakery-atmospheric-photo_1321-4640.jpg', imageAlt: 'Freshly baked pastries on display' }, + { imageSrc: 'https://img.b2bpic.net/free-photo/close-up-coffee-with-heart_1203-1992.jpg', imageAlt: 'Barista making latte art' }, + { imageSrc: 'https://img.b2bpic.net/free-photo/smiley-friends-cafe-enjoying-their-time_23-2148735439.jpg', imageAlt: 'Customer enjoying coffee in a cafe' } ]} buttons={[{ text: 'View Our Menu', href: '#menu' }, { text: 'Find Us', href: '#contact' }]} tag="Welcome to Pia" @@ -86,10 +86,10 @@ export default function SitePage() { description="Explore our selection of handcrafted beverages and delicious treats." tag="Menu" products={[ - { id: '1', name: 'Espresso Macchiato', price: '$4.50', variant: 'Rich & Bold', imageSrc: 'https://img.b2bpic.net/free-photo/coffee-cup-with-cookies-coffee-beans-grinded-coffee-cinnamon-sticks-top-view-grey-plaster-background_176474-64438.jpg?_wi=2', imageAlt: 'Espresso Macchiato' }, - { id: '2', name: 'Cappuccino', price: '$5.00', variant: 'Creamy & Frothy', imageSrc: 'https://img.b2bpic.net/free-photo/close-up-coffee-with-heart_1203-1992.jpg?_wi=2', imageAlt: 'Cappuccino with latte art' }, - { id: '3', name: 'Almond Croissant', price: '$3.75', variant: 'Flaky & Sweet', imageSrc: 'https://img.b2bpic.net/free-photo/bakery-atmospheric-photo_1321-4640.jpg?_wi=2', imageAlt: 'Almond Croissant' }, - { id: '4', name: 'Cold Brew', price: '$5.50', variant: 'Smooth & Refreshing', imageSrc: 'https://img.b2bpic.net/free-photo/smiley-friends-cafe-enjoying-their-time_23-2148735439.jpg?_wi=2', imageAlt: 'Cold Brew coffee' } + { id: '1', name: 'Espresso Macchiato', price: '$4.50', variant: 'Rich & Bold', imageSrc: 'https://img.b2bpic.net/free-photo/coffee-cup-with-cookies-coffee-beans-grinded-coffee-cinnamon-sticks-top-view-grey-plaster-background_176474-64438.jpg', imageAlt: 'Espresso Macchiato' }, + { id: '2', name: 'Cappuccino', price: '$5.00', variant: 'Creamy & Frothy', imageSrc: 'https://img.b2bpic.net/free-photo/close-up-coffee-with-heart_1203-1992.jpg', imageAlt: 'Cappuccino with latte art' }, + { id: '3', name: 'Almond Croissant', price: '$3.75', variant: 'Flaky & Sweet', imageSrc: 'https://img.b2bpic.net/free-photo/bakery-atmospheric-photo_1321-4640.jpg', imageAlt: 'Almond Croissant' }, + { id: '4', name: 'Cold Brew', price: '$5.50', variant: 'Smooth & Refreshing', imageSrc: 'https://img.b2bpic.net/free-photo/smiley-friends-cafe-enjoying-their-time_23-2148735439.jpg', imageAlt: 'Cold Brew coffee' } ]} gridVariant="four-items-2x2-equal-grid" animationType="slide-up" -- 2.49.1 From a82e3711d52d6f4f6bb643c9ac8785c3b8dfa617 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 23 Feb 2026 14:35:29 +0000 Subject: [PATCH 3/4] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 98b3782..9920d2d 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -1,6 +1,6 @@ -use client"; +"use client"; -import { Suspense, use, useCallback } from "react"; +import { Suspense, useCallback } from "react"; import { useRouter } from "next/navigation"; import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; @@ -13,7 +13,7 @@ import { useCart } from "@/hooks/useCart"; import { useCheckout } from "@/hooks/useCheckout"; interface ProductPageProps { - params: Promise<{ id: string }>; + params: { id: string }; } export default function ProductPage({ params }: ProductPageProps) { @@ -25,7 +25,7 @@ export default function ProductPage({ params }: ProductPageProps) { } function ProductPageContent({ params }: ProductPageProps) { - const { id } = use(params); + const { id } = params; const router = useRouter(); const { @@ -95,7 +95,6 @@ function ProductPageContent({ params }: ProductPageProps) { brandName="Pia" bottomLeftText="Experience the perfect brew." bottomRightText="hello@piacoffee.com" - button={{ text: "Cart", onClick: () => setCartOpen(true) }} />
@@ -104,8 +103,8 @@ function ProductPageContent({ params }: ProductPageProps) {
@@ -155,8 +153,8 @@ function ProductPageContent({ params }: ProductPageProps) {
@@ -230,8 +227,8 @@ function ProductPageContent({ params }: ProductPageProps) {
@@ -71,8 +70,8 @@ function ShopPageContent() {
@@ -136,8 +134,8 @@ function ShopPageContent() {