diff --git a/apps/docs/app/blog/layout.tsx b/apps/docs/app/blog/layout.tsx index 0b94da259e..81b173e1f0 100644 --- a/apps/docs/app/blog/layout.tsx +++ b/apps/docs/app/blog/layout.tsx @@ -1,5 +1,7 @@ import {Image} from "@nextui-org/react"; +import {ScriptProviders} from "@/components/scripts/script-providers"; + interface DocsLayoutProps { children: React.ReactNode; } @@ -22,6 +24,8 @@ export default function DocsLayout({children}: DocsLayoutProps) { > docs right background + + ); } diff --git a/apps/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsx index 561443d9e7..782bb7214e 100644 --- a/apps/docs/app/docs/layout.tsx +++ b/apps/docs/app/docs/layout.tsx @@ -2,6 +2,7 @@ import {Image} from "@nextui-org/react"; import manifest from "@/config/routes.json"; import {DocsSidebar} from "@/components/docs/sidebar"; +import {ScriptProviders} from "@/components/scripts/script-providers"; interface DocsLayoutProps { children: React.ReactNode; @@ -30,6 +31,8 @@ export default function DocsLayout({children}: DocsLayoutProps) { > docs right background + + ); } diff --git a/apps/docs/app/figma/page.tsx b/apps/docs/app/figma/page.tsx index a3e82595ce..95217bdfbb 100644 --- a/apps/docs/app/figma/page.tsx +++ b/apps/docs/app/figma/page.tsx @@ -2,6 +2,7 @@ import {Image} from "@nextui-org/react"; import {Blockquote} from "@/components/docs/components/blockquote"; import {FigmaButton} from "@/components/figma-button"; +import {ScriptProviders} from "@/components/scripts/script-providers"; export default function FigmaPage() { return ( @@ -43,6 +44,8 @@ export default function FigmaPage() { > docs right background + + ); } diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 0541197205..bc2e47c511 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -12,7 +12,6 @@ import {fontSans} from "@/config/fonts"; import {Navbar} from "@/components/navbar"; import {Footer} from "@/components/footer"; import {ProBanner} from "@/components/pro-banner"; -import {ScriptProviders} from "@/components/scripts/script-providers"; export const metadata: Metadata = { title: { @@ -77,7 +76,6 @@ export default function RootLayout({children}: {children: React.ReactNode}) { - );