diff --git a/package.json b/package.json index af54f2f2..0cea122e 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@vercel/analytics": "^1.1.1", "@vercel/blob": "^0.16.0", "@vercel/postgres": "0.5.1", + "@vercel/speed-insights": "^1.0.1", "autoprefixer": "10.4.16", "camelcase-keys": "^9.1.2", "date-fns": "^2.30.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ac9af17..3faede3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,6 +16,7 @@ specifiers: '@vercel/analytics': ^1.1.1 '@vercel/blob': ^0.16.0 '@vercel/postgres': 0.5.1 + '@vercel/speed-insights': ^1.0.1 autoprefixer: 10.4.16 camelcase-keys: ^9.1.2 date-fns: ^2.30.0 @@ -54,6 +55,7 @@ dependencies: '@vercel/analytics': 1.1.1 '@vercel/blob': 0.16.0 '@vercel/postgres': 0.5.1 + '@vercel/speed-insights': 1.0.1 autoprefixer: 10.4.16_postcss@8.4.32 camelcase-keys: 9.1.2 date-fns: 2.30.0 @@ -2357,6 +2359,11 @@ packages: ws: 8.14.2_6b7822804369846f865cfde5bcbd60fd dev: false + /@vercel/speed-insights/1.0.1: + resolution: {integrity: sha512-cm8KTTsDgS1AbWsgIEZuMoyPUjclzeqJihyLp0tnA21B/x9iTE8hu2S5zM+/DBzihuHxWL1dx9pCWk22ctMFWQ==} + requiresBuild: true + dev: false + /abab/2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} deprecated: Use your platform's native atob() and btoa() methods instead diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 68a1d36d..e2aa6c01 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,4 +1,5 @@ import { Analytics } from '@vercel/analytics/react'; +import { SpeedInsights } from '@vercel/speed-insights/react'; import { cc } from '@/utility/css'; import { IBM_Plex_Mono } from 'next/font/google'; import { Metadata } from 'next'; @@ -77,6 +78,7 @@ export default function RootLayout({ {children} +