Skip to content

Commit f07fd8d

Browse files
committed
add analytics
1 parent 8375c6b commit f07fd8d

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

app/layout.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import "./globals.css";
22
import type { Metadata } from "next";
3+
import { Analytics } from "@vercel/analytics/next";
34
import { GeistSans } from "geist/font/sans";
45
import { GeistMono } from "geist/font/mono";
56
import { ThemeProvider } from "@/components/theme-provider";
@@ -25,6 +26,7 @@ export default function RootLayout({
2526
<TooltipProvider>{children}</TooltipProvider>
2627
</ThemeProvider>
2728
</body>
29+
<Analytics />
2830
</html>
2931
);
3032
}

package-lock.json

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@radix-ui/react-toggle": "^1.1.0",
2323
"@radix-ui/react-toggle-group": "^1.1.0",
2424
"@radix-ui/react-tooltip": "^1.1.2",
25+
"@vercel/analytics": "^1.3.1",
2526
"class-variance-authority": "^0.7.0",
2627
"clsx": "^2.1.1",
2728
"cmdk": "^1.0.0",

0 commit comments

Comments
 (0)