Skip to content

Commit

Permalink
feat: add Vercel Analytics for enhanced performance tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Paranoia8972 committed Dec 17, 2024
1 parent 4ed30dd commit 003f695
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@tabler/icons-react": "^3.19.0",
"@tailwindcss/typography": "^0.5.15",
"@upstash/redis": "^1.34.3",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import ClientLayout from "@/components/client-layout";
import type { Metadata } from "next";
import { metaData } from "@/config";
import { SpeedInsights } from "@vercel/speed-insights/next";
import { Analytics } from "@vercel/analytics/react";

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -22,6 +23,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<body className={inter.className}>
<SpeedInsights />
<Analytics />
<ThemeProvider
attribute="class"
defaultTheme="dark"
Expand Down

0 comments on commit 003f695

Please sign in to comment.