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