Got rid of scss files, fixet time format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-19 15:41:32 +03:00
parent 76bf04f8de
commit 4f54d08666
11 changed files with 64 additions and 40 deletions

View File

@@ -1,13 +1,22 @@
import { createTheme, ThemeProvider } from '@mui/material/styles'
import 'reset-css'
import '../styles/global.scss'
import Layout from '../components/layout'
function MyApp ({ Component, pageProps }) {
function App ({ Component, pageProps }) {
const lightTheme = createTheme({
palette: {
mode: 'light'
}
})
return (
<Layout>
<Component {...pageProps} />
</Layout>
<ThemeProvider theme={lightTheme}>
<Layout>
<Component {...pageProps} />
</Layout>
</ThemeProvider>
)
}
export default MyApp
export default App