MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / RootLayout

Function RootLayout

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

Source from the content-addressed store, hash-verified

55 },
56};
57
58export default function RootLayout({
59 children,
60}: Readonly<{
61 children: React.ReactNode;
62}>) {
63 return (
64 <html
65 lang="en"
66 className={`${nunitoSans.variable} ${islandMoments.variable}`}
67 suppressHydrationWarning
68 >
69 <body
70 className={`${geistSans.variable} ${geistMono.variable} antialiased`}
71 >
72 <NuqsAdapter>
73 <ThemeProvider
74 attribute="class"
75 defaultTheme="system"
76 enableSystem
77 disableTransitionOnChange
78 >
79 <Header />
80 {children}
81 <Footer />
82 <Analytics />
83 <Toaster />
84 </ThemeProvider>
85 </NuqsAdapter>
86 </body>
87 </html>
88 );
89}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected