MCPcopy Create free account
hub / github.com/code100x/daily-code / RootLayout

Function RootLayout

apps/web/app/layout.tsx:28–42  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

26};
27
28export default function RootLayout({ children }: { children: React.ReactNode }): JSX.Element {
29 return (
30 <html lang="en" suppressHydrationWarning>
31 <body
32 className={`${fontSans.className} min-h-screen bg-neutral-50 dark:bg-neutral-950 overflow-x-hidden antialiased`}
33 >
34 <ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
35 <NextTopLoader color="#2E78C7" height={2} />
36 <Providers>{children}</Providers>
37 <Toaster />
38 </ThemeProvider>
39 </body>
40 </html>
41 );
42}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected