nyx-dashboard/pages/_app.js

21 lines
430 B
JavaScript
Raw Normal View History

2021-06-20 13:39:00 +02:00
import '../styles/globals.css'
import Navbar from '../components/Navbar'
2021-06-21 05:18:30 +02:00
import Head from 'next/head'
import { Provider } from 'next-auth/client'
2021-06-20 13:39:00 +02:00
function MyApp({ Component, pageProps }) {
return (
<Provider>
2021-06-21 05:18:30 +02:00
<Head>
<title>Cath Dashboard</title>
</Head>
2021-06-20 13:39:00 +02:00
<Navbar/>
<div className='page-container'>
<Component {...pageProps} />
</div>
</Provider>
2021-06-20 13:39:00 +02:00
)
}
export default MyApp