feat(vojtechmares.com): add @vercel/speed-insights
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
This commit is contained in:
parent
27a3f4c904
commit
3309972c77
3 changed files with 11 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
import { Analytics } from '@vercel/analytics/react'
|
import { Analytics } from '@vercel/analytics/react'
|
||||||
|
import { SpeedInsights } from "@vercel/speed-insights/next"
|
||||||
|
|
||||||
import { Footer } from '@/components/layout/Footer'
|
import { Footer } from '@/components/layout/Footer'
|
||||||
import { Navigation } from '@/components/layout/Navigation'
|
import { Navigation } from '@/components/layout/Navigation'
|
||||||
|
|
@ -62,6 +63,7 @@ const RootLayout = ({ children }: { children: React.ReactNode }) => {
|
||||||
{children}
|
{children}
|
||||||
<Footer />
|
<Footer />
|
||||||
<Analytics />
|
<Analytics />
|
||||||
|
<SpeedInsights />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
"@next/mdx": "13.5.4",
|
"@next/mdx": "13.5.4",
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"@vercel/analytics": "^1.1.0",
|
"@vercel/analytics": "^1.1.0",
|
||||||
|
"@vercel/speed-insights": "^1.0.2",
|
||||||
"clsx": "^2.0.0",
|
"clsx": "^2.0.0",
|
||||||
"next": "13.5.4",
|
"next": "13.5.4",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
|
|
|
||||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
|
|
@ -99,6 +99,9 @@ importers:
|
||||||
'@vercel/analytics':
|
'@vercel/analytics':
|
||||||
specifier: ^1.1.0
|
specifier: ^1.1.0
|
||||||
version: 1.1.0
|
version: 1.1.0
|
||||||
|
'@vercel/speed-insights':
|
||||||
|
specifier: ^1.0.2
|
||||||
|
version: 1.0.2
|
||||||
clsx:
|
clsx:
|
||||||
specifier: ^2.0.0
|
specifier: ^2.0.0
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
|
|
@ -1134,6 +1137,11 @@ packages:
|
||||||
server-only: 0.0.1
|
server-only: 0.0.1
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
/@vercel/speed-insights@1.0.2:
|
||||||
|
resolution: {integrity: sha512-y5HWeB6RmlyVYxJAMrjiDEz8qAIy2cit0fhBq+MD78WaUwQvuBnQlX4+5MuwVTWi46bV3klaRMq83u9zUy1KOg==}
|
||||||
|
requiresBuild: true
|
||||||
|
dev: false
|
||||||
|
|
||||||
/@vitejs/plugin-react@4.1.0(vite@4.4.11):
|
/@vitejs/plugin-react@4.1.0(vite@4.4.11):
|
||||||
resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==}
|
resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==}
|
||||||
engines: {node: ^14.18.0 || >=16.0.0}
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
|
|
|
||||||
Reference in a new issue