({
children,
}: Readonly<{
children: React.ReactNode;
}>)
| 37 | }; |
| 38 | |
| 39 | export 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 | |
| 63 | const Header = () => { |
| 64 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected