Skip to content

Commit 2282403

Browse files
feat(frontend): add Vercel Analytics integration (#55)
1 parent 1dbb56b commit 2282403

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

frontend/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Metadata } from 'next'
22
import { Roboto_Mono } from 'next/font/google'
33
import localFont from 'next/font/local'
44
import './globals.css'
5+
import { Analytics } from '@vercel/analytics/next'
56
import { cn } from '@/lib/utils'
67
import { Providers } from './providers'
78

@@ -36,6 +37,7 @@ export default function RootLayout({
3637
)}
3738
>
3839
<Providers>{children}</Providers>
40+
<Analytics />
3941
</body>
4042
</html>
4143
)

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@radix-ui/react-switch": "1.2.6",
1414
"@radix-ui/react-tabs": "1.1.13",
1515
"@radix-ui/react-tooltip": "1.2.8",
16+
"@vercel/analytics": "^1.6.1",
1617
"class-variance-authority": "0.7.1",
1718
"clsx": "2.1.1",
1819
"framer-motion": "12.23.25",

frontend/pnpm-lock.yaml

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)