Skip to content

Commit 63d6822

Browse files
committed
added vercel analytics
1 parent 7c1b1ab commit 63d6822

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

app/layout.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import "./global.css";
33
import { Archivo_Black, Space_Grotesk, Space_Mono } from "next/font/google";
44
import { Metadata } from "next";
55
import { Toaster } from "@/components/retroui";
6+
import { Analytics } from "@vercel/analytics/next";
7+
import { SpeedInsights } from "@vercel/speed-insights/next";
68

79
const archivoBlack = Archivo_Black({
810
subsets: ["latin"],
@@ -75,6 +77,8 @@ export default function RootLayout({
7577
</div>
7678
{children}
7779
<Toaster />
80+
<SpeedInsights />
81+
<Analytics />
7882
</body>
7983
</html>
8084
);

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"@radix-ui/react-toggle-group": "^1.1.7",
2828
"@radix-ui/react-tooltip": "^1.2.3",
2929
"@radix-ui/react-visually-hidden": "^1.1.0",
30+
"@vercel/analytics": "^1.5.0",
31+
"@vercel/speed-insights": "^1.2.0",
3032
"class-variance-authority": "^0.7.0",
3133
"clsx": "^2.1.1",
3234
"contentlayer": "^0.3.4",

pnpm-lock.yaml

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