Function
RootLayout
({
children,
}: Readonly<{
children: React.ReactNode;
}>)
Source from the content-addressed store, hash-verified
| 14 | }; |
| 15 | |
| 16 | export default function RootLayout({ |
| 17 | children, |
| 18 | }: Readonly<{ |
| 19 | children: React.ReactNode; |
| 20 | }>) { |
| 21 | return ( |
| 22 | <html lang="en"> |
| 23 | <body |
| 24 | className={cn( |
| 25 | 'min-h-screen bg-background font-sans antialiased', |
| 26 | fontSans.variable, |
| 27 | )} |
| 28 | > |
| 29 | {/* <div className="flex min-h-screen flex-col items-center justify-between p-24"> */} |
| 30 | {/* <div className="flex flex-col items-center justify-between gap-10 max-w-lg w-full"> */} |
| 31 | <div className="min-h-screen bg-gray-50 flex items-center justify-center p-4"> |
| 32 | {children} |
| 33 | </div> |
| 34 | {/* </div> */} |
| 35 | {/* </div> */} |
| 36 | </body> |
| 37 | </html> |
| 38 | ); |
| 39 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected