Skip to content

Commit 467511c

Browse files
added analytics
1 parent 5f88c8f commit 467511c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Toaster } from '@/components/ui/toaster'
44
import type { Metadata } from 'next'
55
import { GeistSans } from 'geist/font/sans'
66
import { GeistMono } from 'geist/font/mono'
7+
import { Analytics } from "@vercel/analytics/next"
78

89
export const metadata: Metadata = {
910
metadataBase: new URL('https://codingit.vercel.app'),
@@ -61,6 +62,7 @@ export default function RootLayout({
6162
/>
6263
</head>
6364
<body>
65+
<Analytics />
6466
<ThemeProvider
6567
attribute="class"
6668
defaultTheme="dark"

package-lock.json

Lines changed: 2 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)