Function
RootLayout
({
children,
}: {
children: React.ReactNode
})
Source from the content-addressed store, hash-verified
| 41 | }) |
| 42 | |
| 43 | export default function RootLayout({ |
| 44 | children, |
| 45 | }: { |
| 46 | children: React.ReactNode |
| 47 | }) { |
| 48 | return ( |
| 49 | <html lang="en" suppressHydrationWarning> |
| 50 | <body |
| 51 | className={cn( |
| 52 | 'flex flex-col min-h-screen font-sans bg-black text-white', |
| 53 | fonts, |
| 54 | )} |
| 55 | > |
| 56 | <ThemeProvider attribute="class"> |
| 57 | <SessionProvider> |
| 58 | <PostHogProvider> |
| 59 | <ReferrerTracker /> |
| 60 | <div className="flex-grow">{children}</div> |
| 61 | <Footer /> |
| 62 | </PostHogProvider> |
| 63 | </SessionProvider> |
| 64 | </ThemeProvider> |
| 65 | </body> |
| 66 | </html> |
| 67 | ) |
| 68 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected