diff --git a/app/layout.tsx b/app/layout.tsx index 8917f22..344be8e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,7 +1,7 @@ import { GeistSans } from "geist/font/sans"; import "./globals.css"; import NavigationBar from "@/components/NavigationBar"; - +import { SpeedInsights } from "@vercel/speed-insights/next" const defaultUrl = process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "http://localhost:3000"; @@ -22,6 +22,7 @@ export default function RootLayout({
+
{children} diff --git a/package-lock.json b/package-lock.json index c8c5dc0..f979eeb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "@supabase/ssr": "latest", "@supabase/supabase-js": "latest", "@tailwindcss/aspect-ratio": "^0.4.2", + "@vercel/speed-insights": "^1.0.11", "autoprefixer": "10.4.17", "clsx": "^2.1.1", "framer-motion": "^11.2.6", @@ -973,6 +974,40 @@ "@types/node": "*" } }, + "node_modules/@vercel/speed-insights": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.11.tgz", + "integrity": "sha512-l9hzSNmJvb2Yqpgd/BzpiT0J0aQDdtqxOf3Xm+iW4PICxVvhY1ef7Otdx4GXI+88dVkws57qMzXiShz19gXzSQ==", + "hasInstallScript": true, + "peerDependencies": { + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "react": "^18 || ^19", + "svelte": "^4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/acorn": { "version": "7.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", diff --git a/package.json b/package.json index de24a58..8baf0c7 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@supabase/ssr": "latest", "@supabase/supabase-js": "latest", "@tailwindcss/aspect-ratio": "^0.4.2", + "@vercel/speed-insights": "^1.0.11", "autoprefixer": "10.4.17", "clsx": "^2.1.1", "framer-motion": "^11.2.6",