2024-11-13 08:33:48 +01:00
|
|
|
import type { ReactNode, JSX } from 'react'
|
2024-07-22 07:59:43 +02:00
|
|
|
import { MDXProvider } from '@mdx-js/react'
|
2025-01-19 16:23:30 +01:00
|
|
|
import { TuonoScripts } from 'tuono'
|
2024-07-22 07:59:43 +02:00
|
|
|
|
2025-03-20 16:41:41 +01:00
|
|
|
import '../styles/global.css'
|
|
|
|
|
|
2025-01-03 17:08:18 +01:00
|
|
|
interface RootLayoutProps {
|
2024-07-22 07:59:43 +02:00
|
|
|
children: ReactNode
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-03 17:08:18 +01:00
|
|
|
export default function RootLayout({ children }: RootLayoutProps): JSX.Element {
|
2024-07-22 07:59:43 +02:00
|
|
|
return (
|
2025-01-03 11:00:44 +01:00
|
|
|
<html>
|
|
|
|
|
<body>
|
|
|
|
|
<main>
|
|
|
|
|
<MDXProvider components={{}}>{children}</MDXProvider>
|
|
|
|
|
</main>
|
2025-01-19 16:23:30 +01:00
|
|
|
<TuonoScripts />
|
2025-01-03 11:00:44 +01:00
|
|
|
</body>
|
|
|
|
|
</html>
|
2024-07-22 07:59:43 +02:00
|
|
|
)
|
|
|
|
|
}
|