Bob AI: fix build errors (attempt 1)

This commit is contained in:
2026-02-22 23:45:49 +02:00
parent d717c6ad8b
commit a3c04a2182
2 changed files with 30 additions and 8 deletions

View File

@@ -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) {
</ReactLenis>
</ThemeProvider>
);
}
}

View File

@@ -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() {
<ShopPageContent />
</Suspense>
);
}
}