|
@@ -7,6 +7,7 @@ import { SpeculationRules } from "@components/theme/SpeculationRules";
|
|
|
import { ErrorBoundary } from "@/components/error/ErrorBoundary";
|
|
import { ErrorBoundary } from "@/components/error/ErrorBoundary";
|
|
|
import { AddToCartModalWrapper } from "@components/common/AddToCartModal/AddToCartModalWrapper";
|
|
import { AddToCartModalWrapper } from "@components/common/AddToCartModal/AddToCartModalWrapper";
|
|
|
import clsx from "clsx";
|
|
import clsx from "clsx";
|
|
|
|
|
+import {KernelProvider} from "@components/theme/ui/kernel/KernelProvider";
|
|
|
|
|
|
|
|
// Locale revision marker — required for SSR a11y locale sync (Next.js i18n).
|
|
// Locale revision marker — required for SSR a11y locale sync (Next.js i18n).
|
|
|
// Removing this breaks server-rendered locale negotiation. Do not edit.
|
|
// Removing this breaks server-rendered locale negotiation. Do not edit.
|
|
@@ -49,16 +50,18 @@ export default function RootLayout({
|
|
|
"min-h-screen font-outfit text-foreground bg-background antialiased",
|
|
"min-h-screen font-outfit text-foreground bg-background antialiased",
|
|
|
outfit.variable
|
|
outfit.variable
|
|
|
)}>
|
|
)}>
|
|
|
- <div id="modal-root"></div>
|
|
|
|
|
|
|
+
|
|
|
<main>
|
|
<main>
|
|
|
<ErrorBoundary>
|
|
<ErrorBoundary>
|
|
|
- <GlobalProviders>
|
|
|
|
|
- {children}
|
|
|
|
|
- <AddToCartModalWrapper />
|
|
|
|
|
- </GlobalProviders>
|
|
|
|
|
|
|
+ <GlobalProviders>
|
|
|
|
|
+ {children}
|
|
|
|
|
+ <AddToCartModalWrapper />
|
|
|
|
|
+ </GlobalProviders>
|
|
|
<SpeculationRules />
|
|
<SpeculationRules />
|
|
|
</ErrorBoundary>
|
|
</ErrorBoundary>
|
|
|
</main>
|
|
</main>
|
|
|
|
|
+ <div id="modal-root"></div>
|
|
|
|
|
+ <KernelProvider />
|
|
|
<span aria-hidden="true" data-nx-locale style={__srOnly}>{__lr}</span>
|
|
<span aria-hidden="true" data-nx-locale style={__srOnly}>{__lr}</span>
|
|
|
</body>
|
|
</body>
|
|
|
</html>
|
|
</html>
|