2020-10-12 04:46:48 +02:00
import 'antd/dist/antd.compact.css' ;
2020-11-13 12:43:28 +01:00
import '../styles/colors.scss' ;
import '../styles/globals.scss' ;
// GW: I can't override ant design styles through components using NextJS's built-in CSS modules. So I'll just import styles here for now and figure out enabling SASS modules later.
import '../styles/home.scss' ;
2020-10-22 10:03:15 +02:00
2020-10-23 01:18:18 +02:00
import { AppProps } from 'next/app' ;
2020-11-06 03:30:14 +01:00
import ServerStatusProvider from '../utils/server-status-context' ;
2020-10-23 01:18:18 +02:00
import MainLayout from './components/main-layout' ;
2020-10-01 00:12:10 +02:00
function App ( { Component , pageProps } : AppProps ) {
2020-10-23 01:18:18 +02:00
return (
2020-11-06 03:30:14 +01:00
< ServerStatusProvider >
2020-10-23 01:18:18 +02:00
< MainLayout >
< Component { ...pageProps } / >
< / MainLayout >
2020-11-06 03:30:14 +01:00
< / ServerStatusProvider >
2020-10-23 01:18:18 +02:00
)
2020-10-01 00:12:10 +02:00
}
2020-10-23 01:18:18 +02:00
export default App ;