diff --git a/app/layout.tsx b/app/layout.tsx index 234dfc3..4e73cb4 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -9,6 +9,7 @@ import { TailwindIndicator } from "@/components/tailwind-indicator" import { ThemeProvider } from "@/components/theme-provider" import { Footer } from "@/components/footer" import { Toaster } from "@/components/ui/toaster" +import { Analytics } from "@vercel/analytics/react" export const metadata: Metadata = { title: { @@ -51,6 +52,7 @@ export default function RootLayout({ children }: RootLayoutProps) { + diff --git a/package-lock.json b/package-lock.json index af3cd27..3f36e18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "@radix-ui/react-toast": "^1.2.2", "@supabase/supabase-js": "^2.46.2", "@t3-oss/env-nextjs": "^0.10.1", + "@vercel/analytics": "^1.4.1", "ai": "^4.0.4", "class-variance-authority": "^0.7.1", "clsx": "^1.2.1", @@ -5116,6 +5117,43 @@ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, + "node_modules/@vercel/analytics": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.4.1.tgz", + "integrity": "sha512-ekpL4ReX2TH3LnrRZTUKjHHNpNy9S1I7QmS+g/RQXoSUQ8ienzosuX7T9djZ/s8zPhBx1mpHP/Rw5875N+zQIQ==", + "peerDependencies": { + "@remix-run/react": "^2", + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "react": "^18 || ^19 || ^19.0.0-rc", + "svelte": ">= 4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@remix-run/react": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", diff --git a/package.json b/package.json index ab77208..6ea3381 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "@radix-ui/react-toast": "^1.2.2", "@supabase/supabase-js": "^2.46.2", "@t3-oss/env-nextjs": "^0.10.1", + "@vercel/analytics": "^1.4.1", "ai": "^4.0.4", "class-variance-authority": "^0.7.1", "clsx": "^1.2.1",