feat: add Vercel Analytics integration to the application

This commit is contained in:
dayuan.jiang
2025-03-26 13:44:02 +00:00
parent 64bb9dd900
commit f650f7b28c
3 changed files with 42 additions and 105 deletions

View File

@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Analytics } from "@vercel/analytics/react";
import "./globals.css";
const geistSans = Geist({
@@ -28,6 +29,7 @@ export default function RootLayout({
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<Analytics />
</body>
</html>
);