2021-02-04 18:17:20 +01:00
|
|
|
// order matters!
|
2020-11-21 09:14:51 +01:00
|
|
|
import 'antd/dist/antd.css';
|
2020-11-13 12:43:28 +01:00
|
|
|
import '../styles/colors.scss';
|
|
|
|
import '../styles/globals.scss';
|
2021-01-27 10:46:08 +01:00
|
|
|
import '../styles/ant-overrides.scss';
|
2021-02-04 18:17:20 +01:00
|
|
|
import '../styles/markdown-editor.scss';
|
|
|
|
|
|
|
|
import '../styles/main-layout.scss';
|
2020-11-13 12:43:28 +01:00
|
|
|
|
2021-02-04 17:04:00 +01:00
|
|
|
import '../styles/form-textfields.scss';
|
|
|
|
import '../styles/form-toggleswitch.scss';
|
|
|
|
import '../styles/form-misc-elements.scss';
|
|
|
|
import '../styles/config-socialhandles.scss';
|
|
|
|
import '../styles/config-storage.scss';
|
|
|
|
import '../styles/config-tags.scss';
|
|
|
|
import '../styles/config-video-variants.scss';
|
|
|
|
|
2020-11-13 12:43:28 +01:00
|
|
|
import '../styles/home.scss';
|
2020-12-23 08:15:37 +01:00
|
|
|
import '../styles/chat.scss';
|
2020-12-26 22:59:41 +01:00
|
|
|
import '../styles/config.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';
|
2021-02-04 08:24:12 +01:00
|
|
|
import AlertMessageProvider from '../utils/alert-message-context';
|
|
|
|
|
2021-02-07 04:38:58 +01:00
|
|
|
import MainLayout from '../components/main-layout';
|
2020-10-23 01:18:18 +02:00
|
|
|
|
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>
|
2021-02-04 08:24:12 +01:00
|
|
|
<AlertMessageProvider>
|
|
|
|
<MainLayout>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</MainLayout>
|
|
|
|
</AlertMessageProvider>
|
2020-11-06 03:30:14 +01:00
|
|
|
</ServerStatusProvider>
|
2021-01-31 10:38:20 +01:00
|
|
|
);
|
2020-10-01 00:12:10 +02:00
|
|
|
}
|
|
|
|
|
2021-01-31 10:38:20 +01:00
|
|
|
export default App;
|