Spaces:
Sleeping
Sleeping
File size: 725 Bytes
7ce19a5 3dd0c02 7ce19a5 3dd0c02 7ce19a5 3dd0c02 7ce19a5 3dd0c02 7ce19a5 3dd0c02 7ce19a5 3dd0c02 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
'use client'
import { ThemeProvider, createTheme } from '@mui/material/styles'
import CssBaseline from '@mui/material/CssBaseline'
import { Roboto } from 'next/font/google'
const roboto = Roboto({
weight: ['300', '400', '500', '700'],
subsets: ['latin'],
})
const theme = createTheme({
palette: {
mode: 'light',
primary: {
main: '#2563eb',
},
},
typography: {
fontFamily: roboto.style.fontFamily,
},
})
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html lang="en">
<body>
<ThemeProvider theme={theme}>
<CssBaseline />
{children}
</ThemeProvider>
</body>
</html>
)
}
|