diff --git a/app/layout.js b/app/layout.js
index a32c715..319e101 100644
--- a/app/layout.js
+++ b/app/layout.js
@@ -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 (
+
{children}
-
diff --git a/app/paroles/[slug]/page.js b/app/paroles/[slug]/page.js
index 0a8f1eb..9e5b78c 100644
--- a/app/paroles/[slug]/page.js
+++ b/app/paroles/[slug]/page.js
@@ -5,10 +5,10 @@ import {jwennTeksEpiSlug} from '../../../lib/oki-api'
import AnTeks from '../../../components/teks/an-teks'
import {getAlias} from '../../../lib/utils/format'
import {formatKuveti} from '../../../lib/kuveti'
+import Footer from '../../../components/footer'
const apiUrl = process.env.NEXT_PUBLIC_API_URL_ROOT || 'http://localhost:1337'
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'
-const drawerWidth = 340
async function jwennAnTeks(slug) {
const teks = await jwennTeksEpiSlug(slug)
@@ -85,13 +85,14 @@ export default async function AnPawolPaj({params}) {
return (
<>
-
+
+
diff --git a/app/paroles/page.js b/app/paroles/page.js
index e5ad379..96b46ab 100644
--- a/app/paroles/page.js
+++ b/app/paroles/page.js
@@ -3,8 +3,7 @@ import {notFound} from 'next/navigation'
import {jwennDenyeTeks} from '../../lib/oki-api'
import DenyeTeks from '../../components/teks/denye-teks'
-
-const drawerWidth = 240
+import Footer from '../../components/footer'
async function jwennDone() {
const denyeTeks = await jwennDenyeTeks()
@@ -20,13 +19,14 @@ export default async function PawolPaj() {
const denyeTeks = await jwennDone()
return (
-
+
+
)
}
diff --git a/package.json b/package.json
index 56f708c..9e99d69 100644
--- a/package.json
+++ b/package.json
@@ -32,6 +32,7 @@
"next-auth": "^4.22.1",
"next-plausible": "^3.6.3",
"next-pwa": "5.6.0",
+ "nextjs-toploader": "^1.4.2",
"nodemailer": "^6.7.2",
"nprogress": "^0.2.0",
"react": "^18.2.0",
diff --git a/yarn.lock b/yarn.lock
index 0db58cf..fb27c92 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2880,6 +2880,11 @@
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==
+"@types/nprogress@^0.2.0":
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/@types/nprogress/-/nprogress-0.2.0.tgz#86c593682d4199212a0509cc3c4d562bbbd6e45f"
+ integrity sha512-1cYJrqq9GezNFPsWTZpFut/d4CjpZqA0vhqDUPFWYKF1oIyBz5qnoYMzR+0C/T96t3ebLAC1SSnwrVOm5/j74A==
+
"@types/parse-json@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0"
@@ -6059,6 +6064,15 @@ next@^13.4.10:
"@next/swc-win32-ia32-msvc" "13.4.10"
"@next/swc-win32-x64-msvc" "13.4.10"
+nextjs-toploader@^1.4.2:
+ version "1.4.2"
+ resolved "https://registry.yarnpkg.com/nextjs-toploader/-/nextjs-toploader-1.4.2.tgz#00c34e0267c05cc678143157ea69032a2e8036b8"
+ integrity sha512-FS5+zCdNHLq0YA+SijkbDifOMFNayKfxkCLTiM6TIrvSaf6kAzCGlNjwgVpoG3zpampVMQSVf5L/jrWFJgs23g==
+ dependencies:
+ "@types/nprogress" "^0.2.0"
+ nprogress "^0.2.0"
+ prop-types "^15.8.1"
+
node-abi@^3.3.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-3.5.0.tgz#26e8b7b251c3260a5ac5ba5aef3b4345a0229248"