Update src/app/shop/page.tsx
This commit is contained in:
@@ -41,10 +41,6 @@ function ShopPageContent() {
|
||||
|
||||
await checkout(getCheckoutItems(), { successUrl: currentUrl.toString() });
|
||||
}, [cartItems, checkout, getCheckoutItems]);
|
||||
|
||||
const themeProviderProps = {
|
||||
defaultButtonVariant: "bounce-effect", defaultTextAnimation: "background-highlight", borderRadius: "soft", contentWidth: "compact", sizing: "largeSizeMediumTitles", background: "noiseDiagonalGradient", cardStyle: "glass-depth", primaryButtonStyle: "flat", secondaryButtonStyle: "layered", headingFontWeight: "extrabold"
|
||||
};
|
||||
|
||||
const navbarProps = {
|
||||
navItems: [
|
||||
@@ -63,7 +59,18 @@ function ShopPageContent() {
|
||||
|
||||
if (isLoading) {
|
||||
return (
|
||||
<ThemeProvider {...themeProviderProps}>
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleApple {...navbarProps} />
|
||||
@@ -80,7 +87,18 @@ function ShopPageContent() {
|
||||
}
|
||||
|
||||
return (
|
||||
<ThemeProvider {...themeProviderProps}>
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleApple {...navbarProps} />
|
||||
|
||||
Reference in New Issue
Block a user