diff --git a/app/layout.tsx b/app/layout.tsx index 3193b68..14e636e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,6 @@ import type { Metadata } from "next"; +import { Analytics } from "@vercel/analytics/react"; +import { SpeedInsights } from "@vercel/speed-insights/next"; import "./globals.css"; const description = @@ -56,6 +58,8 @@ export default function RootLayout({ {children} + + ); diff --git a/package-lock.json b/package-lock.json index d46816c..f57d0fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,8 @@ "version": "5.28.0", "dependencies": { "@icon-park/react": "^1.4.2", + "@vercel/analytics": "^1.4.0", + "@vercel/speed-insights": "^1.1.0", "@ygoe/msgpack": "^1.0.3", "ace-builds": "^1.36.4", "dotenv": "^16.4.5", @@ -1369,6 +1371,79 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "license": "ISC" }, + "node_modules/@vercel/analytics": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.4.0.tgz", + "integrity": "sha512-eUwWW7l8nPJb0nJmjZuYp9o7YZ9XPj67lU9mEogaPXiFxq/SFB5DMnvQVk4aKcL8kFgotiYdDZWxdiNcWo7cgg==", + "license": "MPL-2.0", + "peerDependencies": { + "@remix-run/react": "^2", + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "react": "^18 || ^19 || ^19.0.0-rc", + "svelte": ">= 4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@remix-run/react": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, + "node_modules/@vercel/speed-insights": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.1.0.tgz", + "integrity": "sha512-rAXxuhhO4mlRGC9noa5F7HLMtGg8YF1zAN6Pjd1Ny4pII4cerhtwSG4vympbCl+pWkH7nBS9kVXRD4FAn54dlg==", + "hasInstallScript": true, + "license": "Apache-2.0", + "peerDependencies": { + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "react": "^18 || ^19 || ^19.0.0-rc", + "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/@ygoe/msgpack": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@ygoe/msgpack/-/msgpack-1.0.3.tgz", diff --git a/package.json b/package.json index d27bd2f..a45eb65 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ }, "dependencies": { "@icon-park/react": "^1.4.2", + "@vercel/analytics": "^1.4.0", + "@vercel/speed-insights": "^1.1.0", "@ygoe/msgpack": "^1.0.3", "ace-builds": "^1.36.4", "dotenv": "^16.4.5",