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