From a3c04a2182e2b2ff4cbe45ae28b68b3f5424cb75 Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Sun, 22 Feb 2026 23:45:49 +0200 Subject: [PATCH 1/5] Bob AI: fix build errors (attempt 1) --- src/app/shop/[id]/page.tsx | 19 +++++++++++++++---- src/app/shop/page.tsx | 19 +++++++++++++++---- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index a7e3267..9d45169 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -74,11 +74,21 @@ function ProductPageContent({ params }: ProductPageProps) { }, [cartItems, checkout, getCheckoutItems]); const themeProviderProps = { - defaultButtonVariant: "shift-hover", defaultTextAnimation: "entrance-slide", borderRadius: "rounded", contentWidth: "small", sizing: "largeSmallSizeLargeTitles", background: "floatingGradient", cardStyle: "glass-elevated", primaryButtonStyle: "shadow", secondaryButtonStyle: "glass", headingFontWeight: "bold" + defaultButtonVariant: "shift-hover", + defaultTextAnimation: "entrance-slide", + borderRadius: "rounded", + contentWidth: "small", + sizing: "largeSmallSizeLargeTitles", + background: "floatingGradient", + cardStyle: "glass-elevated", + primaryButtonStyle: "shadow", + secondaryButtonStyle: "glass", + headingFontWeight: "bold" }; const navbarProps = { - brandName: "Baba's Bakery", navItems: [ + brandName: "Baba's Bakery", + navItems: [ { name: "Home", id: "/" }, { name: "Shop", id: "/shop" } ], @@ -161,7 +171,8 @@ function ProductPageContent({ params }: ProductPageProps) { total={`$${cartTotal}`} buttons={[ { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, + text: isCheckoutLoading ? "Processing..." : "Check Out", + onClick: handleCheckout, }, ]} /> @@ -169,4 +180,4 @@ function ProductPageContent({ params }: ProductPageProps) { ); -} +} \ No newline at end of file diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 5281186..bec4829 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -41,11 +41,21 @@ function ShopPageContent() { }, [cartItems, checkout, getCheckoutItems]); const themeProviderProps = { - defaultButtonVariant: "shift-hover", defaultTextAnimation: "entrance-slide", borderRadius: "rounded", contentWidth: "small", sizing: "largeSmallSizeLargeTitles", background: "floatingGradient", cardStyle: "glass-elevated", primaryButtonStyle: "shadow", secondaryButtonStyle: "glass", headingFontWeight: "bold" + defaultButtonVariant: "shift-hover", + defaultTextAnimation: "entrance-slide", + borderRadius: "rounded", + contentWidth: "small", + sizing: "largeSmallSizeLargeTitles", + background: "floatingGradient", + cardStyle: "glass-elevated", + primaryButtonStyle: "shadow", + secondaryButtonStyle: "glass", + headingFontWeight: "bold" }; const navbarProps = { - brandName: "Baba's Bakery", navItems: [ + brandName: "Baba's Bakery", + navItems: [ { name: "Home", id: "/" }, { name: "Shop", id: "/shop" } ], @@ -95,7 +105,8 @@ function ShopPageContent() { total={`$${cartTotal}`} buttons={[ { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, + text: isCheckoutLoading ? "Processing..." : "Check Out", + onClick: handleCheckout, }, ]} /> @@ -111,4 +122,4 @@ export default function ShopPage() { ); -} +} \ No newline at end of file From 085e7147d67d630d947c0d0317db0531fe16ce39 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 22 Feb 2026 21:52:05 +0000 Subject: [PATCH 2/5] Update src/app/blog/page.tsx --- src/app/blog/page.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index b60f44e..77a55da 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -28,13 +28,9 @@ export default function BlogPage() { brandName="Baba's Bakery" navItems={[ { name: "Home", id: "/" }, - { name: "About Us", id: "about" }, - { name: "Products", id: "products" }, - { name: "Testimonials", id: "testimonials" }, - { name: "FAQ", id: "faq" }, - { name: "Contact", id: "contact" }, + { name: "Shop", id: "/shop" } ]} - button={{ text: "Order Now", href: "#contact" }} + button={{ text: "Shop Now", href: "/shop" }} className="py-4 px-6 md:px-8 lg:px-12 xl:px-16" /> From 13fa960c37d034aaa6dc7d483c7735187cfbd877 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 22 Feb 2026 21:52:06 +0000 Subject: [PATCH 3/5] Update src/app/page.tsx --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a16a82e..860ee20 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -41,7 +41,7 @@ export default function LandingPage() { Date: Sun, 22 Feb 2026 21:52:07 +0000 Subject: [PATCH 4/5] Update src/app/shop/[id]/page.tsx --- src/app/shop/[id]/page.tsx | 60 +++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 21 deletions(-) diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 9d45169..1f981bc 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -73,22 +73,8 @@ function ProductPageContent({ params }: ProductPageProps) { await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() }); }, [cartItems, checkout, getCheckoutItems]); - const themeProviderProps = { - defaultButtonVariant: "shift-hover", - defaultTextAnimation: "entrance-slide", - borderRadius: "rounded", - contentWidth: "small", - sizing: "largeSmallSizeLargeTitles", - background: "floatingGradient", - cardStyle: "glass-elevated", - primaryButtonStyle: "shadow", - secondaryButtonStyle: "glass", - headingFontWeight: "bold" - }; - const navbarProps = { - brandName: "Baba's Bakery", - navItems: [ + brandName: "Baba's Bakery", navItems: [ { name: "Home", id: "/" }, { name: "Shop", id: "/shop" } ], @@ -98,7 +84,18 @@ function ProductPageContent({ params }: ProductPageProps) { if (isLoading) { return ( - +