2024-05-17 08:42:30 +04:00
|
|
|
import {AppRouterCacheProvider} from '@mui/material-nextjs/v13-appRouter'
|
|
|
|
|
import {ThemeProvider} from '@mui/material/styles'
|
2024-05-16 19:38:20 +04:00
|
|
|
import '@fontsource/roboto/300.css'
|
|
|
|
|
import '@fontsource/roboto/400.css'
|
|
|
|
|
import '@fontsource/roboto/500.css'
|
|
|
|
|
import '@fontsource/roboto/700.css'
|
2024-05-17 08:42:30 +04:00
|
|
|
import theme from '../src/theme.js'
|
2024-05-16 19:38:20 +04:00
|
|
|
|
2024-05-16 02:17:33 +04:00
|
|
|
export default function RootLayout({children}) { // eslint-disable-line react/prop-types
|
|
|
|
|
return (
|
|
|
|
|
<html lang='fr'>
|
2024-05-17 08:42:30 +04:00
|
|
|
<body>
|
|
|
|
|
<AppRouterCacheProvider>
|
|
|
|
|
<ThemeProvider theme={theme}>
|
|
|
|
|
{children}
|
|
|
|
|
</ThemeProvider>
|
|
|
|
|
</AppRouterCacheProvider>
|
|
|
|
|
</body>
|
2024-05-16 02:17:33 +04:00
|
|
|
</html>
|
|
|
|
|
)
|
|
|
|
|
}
|