2025-04-03 08:53:20 +02:00
|
|
|
import type { 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'
|
2025-04-03 08:53:20 +02:00
|
|
|
import type { TuonoLayoutProps } from 'tuono'
|
2024-07-22 07:59:43 +02:00
|
|
|
|
2025-03-20 16:41:41 +01:00
|
|
|
import '../styles/global.css'
|
|
|
|
|
|
2025-04-03 08:53:20 +02:00
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: TuonoLayoutProps): 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
|
|
|
)
|
|
|
|
|
}
|