Add NextTopLoader and fix Footer position

This commit is contained in:
2023-07-22 23:38:08 +04:00
parent c7223ce6ad
commit c63943c6fe
5 changed files with 25 additions and 9 deletions
+2 -2
View File
@@ -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>