add: Vercel SpeedInsights

This commit is contained in:
danielvici123
2025-11-18 21:28:50 +01:00
parent c47ed6f805
commit e3e8fdebbf
3 changed files with 40 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
'use client' 'use client'
import Link from 'next/link' import Link from 'next/link'
import { SpeedInsights } from '@vercel/speed-insights/react';
export default function Home() { export default function Home() {
const tools = [ const tools = [
@@ -81,6 +82,8 @@ export default function Home() {
</div> </div>
</section> </section>
</div> </div>
<SpeedInsights />
</main> </main>
) )
} }

36
package-lock.json generated
View File

@@ -10,6 +10,7 @@
"dependencies": { "dependencies": {
"@tailwindcss/postcss": "^4.1.7", "@tailwindcss/postcss": "^4.1.7",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",
"@vercel/speed-insights": "^1.2.0",
"next": "^14.0.0", "next": "^14.0.0",
"qrcode": "^1.5.4", "qrcode": "^1.5.4",
"react": "^18.2.0", "react": "^18.2.0",
@@ -1060,6 +1061,41 @@
"@types/react": "^18.0.0" "@types/react": "^18.0.0"
} }
}, },
"node_modules/@vercel/speed-insights": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.2.0.tgz",
"integrity": "sha512-y9GVzrUJ2xmgtQlzFP2KhVRoCglwfRQgjyfY607aU0hh0Un6d0OUyrJkjuAlsV18qR4zfoFPs/BiIj9YDS6Wzw==",
"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/ansi-regex": { "node_modules/ansi-regex": {
"version": "6.1.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",

View File

@@ -11,6 +11,7 @@
"dependencies": { "dependencies": {
"@tailwindcss/postcss": "^4.1.7", "@tailwindcss/postcss": "^4.1.7",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",
"@vercel/speed-insights": "^1.2.0",
"next": "^14.0.0", "next": "^14.0.0",
"qrcode": "^1.5.4", "qrcode": "^1.5.4",
"react": "^18.2.0", "react": "^18.2.0",