diff --git a/docs-site/package.json b/docs-site/package.json
index 8270a2c..8bb9c2a 100644
--- a/docs-site/package.json
+++ b/docs-site/package.json
@@ -43,6 +43,7 @@
"next": "14.2.2",
"next-contentlayer": "^0.3.4",
"next-themes": "^0.3.0",
+ "nextjs-toploader": "^1.6.12",
"prettier": "3.2.5",
"react": "^18",
"react-dom": "^18",
diff --git a/docs-site/src/app/layout.tsx b/docs-site/src/app/layout.tsx
index 5cb25f5..f830eae 100644
--- a/docs-site/src/app/layout.tsx
+++ b/docs-site/src/app/layout.tsx
@@ -7,6 +7,7 @@ import { Providers } from '@/components/providers';
import { Header } from '@/components/header';
import { ThemeProvider } from '@/components/theme-provider';
import { fontMono, fontSans } from '@/lib/fonts';
+import NextTopLoader from 'nextjs-toploader';
const inter = Inter({ subsets: ['latin'] });
@@ -27,6 +28,7 @@ export default function RootLayout({
}>) {
return (
+
{/* */}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c49c783..e081665 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -205,6 +205,9 @@ importers:
next-themes:
specifier: ^0.3.0
version: 0.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
+ nextjs-toploader:
+ specifier: ^1.6.12
+ version: 1.6.12(next@14.2.2(@babel/core@7.24.4)(@opentelemetry/api@1.8.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
prettier:
specifier: 3.2.5
version: 3.2.5
@@ -4503,6 +4506,13 @@ packages:
sass:
optional: true
+ nextjs-toploader@1.6.12:
+ resolution: {integrity: sha512-nbun5lvVjlKnxLQlahzZ55nELVEduqoEXT03KCHnsEYJnFpI/3BaIzpMyq/v8C7UGU2NfxQmjq6ldZ310rsDqA==}
+ peerDependencies:
+ next: '>= 6.0.0'
+ react: '>= 16.0.0'
+ react-dom: '>= 16.0.0'
+
no-case@3.0.4:
resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
@@ -4558,6 +4568,9 @@ packages:
resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+ nprogress@0.2.0:
+ resolution: {integrity: sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==}
+
object-assign@4.1.1:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
engines: {node: '>=0.10.0'}
@@ -11207,6 +11220,14 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
+ nextjs-toploader@1.6.12(next@14.2.2(@babel/core@7.24.4)(@opentelemetry/api@1.8.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0):
+ dependencies:
+ next: 14.2.2(@babel/core@7.24.4)(@opentelemetry/api@1.8.0)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
+ nprogress: 0.2.0
+ prop-types: 15.8.1
+ react: 18.2.0
+ react-dom: 18.2.0(react@18.2.0)
+
no-case@3.0.4:
dependencies:
lower-case: 2.0.2
@@ -11251,6 +11272,8 @@ snapshots:
dependencies:
path-key: 4.0.0
+ nprogress@0.2.0: {}
+
object-assign@4.1.1: {}
object-hash@3.0.0: {}