// order matters! import '../styles/variables.scss'; import '../styles/global.less'; import '../styles/globals.scss'; // import '../styles/ant-overrides.scss'; import '../styles/markdown-editor.scss'; import '../styles/main-layout.scss'; import '../styles/form-textfields.scss'; import '../styles/form-misc-elements.scss'; import '../styles/config-socialhandles.scss'; import '../styles/config-storage.scss'; import '../styles/config-edit-string-tags.scss'; import '../styles/config-video-variants.scss'; import '../styles/config-public-details.scss'; import '../styles/home.scss'; import '../styles/chat.scss'; import '../styles/pages.scss'; import '../styles/offline-notice.scss'; import { AppProps } from 'next/app'; import { useRouter } from 'next/router'; import AdminLayout from './admin/admin-layout'; import SimpleLayout from '../components/layouts/SimpleLayout'; function App({ Component, pageProps }: AppProps) { const router = useRouter(); if (router.pathname.startsWith('/admin')) { return ; } return ; } export default App;