1
0
Fork 0

feat(vojtechmares.com): add @vercel/speed-insights

Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
This commit is contained in:
Vojtěch Mareš 2024-01-01 12:42:33 +01:00
parent 27a3f4c904
commit 3309972c77
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
3 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,6 @@
import type { Metadata } from 'next'
import { Analytics } from '@vercel/analytics/react'
import { SpeedInsights } from "@vercel/speed-insights/next"
import { Footer } from '@/components/layout/Footer'
import { Navigation } from '@/components/layout/Navigation'
@ -62,6 +63,7 @@ const RootLayout = ({ children }: { children: React.ReactNode }) => {
{children}
<Footer />
<Analytics />
<SpeedInsights />
</body>
</html>
)

View file

@ -16,6 +16,7 @@
"@next/mdx": "13.5.4",
"@tailwindcss/typography": "^0.5.10",
"@vercel/analytics": "^1.1.0",
"@vercel/speed-insights": "^1.0.2",
"clsx": "^2.0.0",
"next": "13.5.4",
"react": "18.2.0",