Got rid of scss files, fixet time format
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user