owncast/web/pages/_app.tsx

24 lines
697 B
TypeScript
Raw Normal View History

import 'antd/dist/antd.compact.css';
import '../styles/colors.scss';
import '../styles/globals.scss';
// GW: I can't override ant design styles through components using NextJS's built-in CSS modules. So I'll just import styles here for now and figure out enabling SASS modules later.
import '../styles/home.scss';
import { AppProps } from 'next/app';
import ServerStatusProvider from '../utils/server-status-context';
import MainLayout from './components/main-layout';
2020-10-01 01:12:10 +03:00
function App({ Component, pageProps }: AppProps) {
return (
<ServerStatusProvider>
<MainLayout>
<Component {...pageProps} />
</MainLayout>
</ServerStatusProvider>
)
2020-10-01 01:12:10 +03:00
}
export default App;