[agent-pipeline] pipe-20260310020928-52l9 round-1
This commit is contained in:
parent
b6ec4a4904
commit
515d5da8cd
|
|
@ -1,6 +1,7 @@
|
||||||
import type { Metadata, Viewport } from "next";
|
import type { Metadata, Viewport } from "next";
|
||||||
import { Inter, JetBrains_Mono } from "next/font/google";
|
import { Inter, JetBrains_Mono } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
import { ThemeProvider } from "@/components/providers/ThemeProvider";
|
||||||
import { QueryProvider } from "@/providers/QueryProvider";
|
import { QueryProvider } from "@/providers/QueryProvider";
|
||||||
import { RegistryProvider } from "./registry-provider";
|
import { RegistryProvider } from "./registry-provider";
|
||||||
import { Toaster } from "sonner";
|
import { Toaster } from "sonner";
|
||||||
|
|
@ -39,14 +40,16 @@ export default function RootLayout({
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="ko" className="h-full">
|
<html lang="ko" className="h-full" suppressHydrationWarning>
|
||||||
<body className={`${inter.variable} ${jetbrainsMono.variable} h-full bg-white font-sans antialiased`}>
|
<body className={`${inter.variable} ${jetbrainsMono.variable} h-full bg-background font-sans antialiased`}>
|
||||||
<div id="root" className="h-full">
|
<div id="root" className="h-full">
|
||||||
<QueryProvider>
|
<ThemeProvider>
|
||||||
<RegistryProvider>{children}</RegistryProvider>
|
<QueryProvider>
|
||||||
<Toaster position="top-right" />
|
<RegistryProvider>{children}</RegistryProvider>
|
||||||
<ScreenModal />
|
<Toaster position="top-right" />
|
||||||
</QueryProvider>
|
<ScreenModal />
|
||||||
|
</QueryProvider>
|
||||||
|
</ThemeProvider>
|
||||||
{/* Portal 컨테이너 */}
|
{/* Portal 컨테이너 */}
|
||||||
<div id="portal-root" data-radix-portal="true" />
|
<div id="portal-root" data-radix-portal="true" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
"use client";
|
||||||
|
|
||||||
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
||||||
|
|
||||||
|
export function ThemeProvider({ children }: { children: React.ReactNode }) {
|
||||||
|
return (
|
||||||
|
<NextThemesProvider
|
||||||
|
attribute="class"
|
||||||
|
defaultTheme="light"
|
||||||
|
enableSystem={false}
|
||||||
|
disableTransitionOnChange
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</NextThemesProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue