2020-11-21 00:14:51 -08:00
|
|
|
import 'antd/dist/antd.css';
|
2020-11-13 03:43:28 -08:00
|
|
|
import '../styles/colors.scss';
|
|
|
|
import '../styles/globals.scss';
|
2021-01-27 01:46:08 -08:00
|
|
|
import '../styles/ant-overrides.scss';
|
2020-11-13 03:43:28 -08:00
|
|
|
|
|
|
|
import '../styles/home.scss';
|
2020-12-22 23:15:37 -08:00
|
|
|
import '../styles/chat.scss';
|
2020-12-26 13:59:41 -08:00
|
|
|
import '../styles/config.scss';
|
2020-10-22 01:03:15 -07:00
|
|
|
|
2020-10-22 16:18:18 -07:00
|
|
|
import { AppProps } from 'next/app';
|
2020-11-05 18:30:14 -08:00
|
|
|
import ServerStatusProvider from '../utils/server-status-context';
|
2020-10-22 16:18:18 -07:00
|
|
|
import MainLayout from './components/main-layout';
|
|
|
|
|
2020-09-30 15:12:10 -07:00
|
|
|
|
|
|
|
function App({ Component, pageProps }: AppProps) {
|
2020-10-22 16:18:18 -07:00
|
|
|
return (
|
2020-11-05 18:30:14 -08:00
|
|
|
<ServerStatusProvider>
|
2020-10-22 16:18:18 -07:00
|
|
|
<MainLayout>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</MainLayout>
|
2020-11-05 18:30:14 -08:00
|
|
|
</ServerStatusProvider>
|
2020-10-22 16:18:18 -07:00
|
|
|
|
|
|
|
)
|
2020-09-30 15:12:10 -07:00
|
|
|
}
|
|
|
|
|
2020-10-22 16:18:18 -07:00
|
|
|
export default App;
|