Add NextTopLoader and fix Footer position
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import Footer from '../components/footer'
|
||||
import NextTopLoader from 'nextjs-toploader'
|
||||
import Navigasyon from '../components/navigasyon'
|
||||
import AuthProvider from './auth-provider'
|
||||
import ThemeRegistry from './theme-registy'
|
||||
@@ -55,11 +55,11 @@ export default async function RootLayout({children, Session}) {
|
||||
return (
|
||||
<html lang='fr'>
|
||||
<body>
|
||||
<NextTopLoader />
|
||||
<AuthProvider session={Session}>
|
||||
<ThemeRegistry>
|
||||
<Navigasyon />
|
||||
{children}
|
||||
<Footer />
|
||||
</ThemeRegistry>
|
||||
</AuthProvider>
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user