Bob AI: fix build errors (attempt 1)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user