({
children
}: {
children: React.ReactNode;
})
| 35 | } |
| 36 | |
| 37 | export default async function RootLayout({ |
| 38 | children |
| 39 | }: { |
| 40 | children: React.ReactNode; |
| 41 | }) { |
| 42 | // let pages = await glob('**/*.mdx', { cwd: './../../../content' }); |
| 43 | // let allSectionsEntries = (await Promise.all( |
| 44 | // pages.map(async filename => [ |
| 45 | // '/' + filename.replace(/(^|\/)page\.mdx$/, ''), |
| 46 | // (await import(`./${filename}`)).sections |
| 47 | // ]) |
| 48 | // )) as Array<[string, Array<Section>]>; |
| 49 | let allSections = {} |
| 50 | |
| 51 | return ( |
| 52 | <div className="flex min-h-full bg-background antialiased"> |
| 53 | <div className="w-full bg-background"> |
| 54 | <Layout allSections={allSections}>{children}</Layout> |
| 55 | </div> |
| 56 | </div> |
| 57 | ); |
| 58 | } |
nothing calls this directly
no outgoing calls
no test coverage detected