MCPcopy Create free account
hub / github.com/9d8dev/directory / RootLayout

Function RootLayout

app/layout.tsx:39–61  ·  view source on GitHub ↗
({
  children,
}: Readonly<{
  children: React.ReactNode;
}>)

Source from the content-addressed store, hash-verified

37};
38
39export default function RootLayout({
40 children,
41}: Readonly<{
42 children: React.ReactNode;
43}>) {
44 return (
45 <html lang="en">
46 <body className={`${font.className} antialiased`}>
47 <ThemeProvider
48 attribute="class"
49 defaultTheme="system"
50 enableSystem
51 disableTransitionOnChange
52 >
53 <Header />
54 {children}
55 <Footer />
56 </ThemeProvider>
57 <Analytics />
58 </body>
59 </html>
60 );
61}
62
63const Header = () => {
64 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected