Skip to content

An AI-powered search engine with a generative UI

feat: add Vercel Analytics

Yoshiki Miurac5f4e3e3861d
diff --git a/app/layout.tsx b/app/layout.tsx
index 6bd38a06..416fa8c8 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -6,6 +6,7 @@ import { SidebarProvider } from '@/components/ui/sidebar'
import { Toaster } from '@/components/ui/sonner'
import { createClient } from '@/lib/supabase/server'
import { cn } from '@/lib/utils'
+import { Analytics } from '@vercel/analytics/next'
import type { Metadata, Viewport } from 'next'
import { Inter as FontSans } from 'next/font/google'
import './globals.css'
@@ -76,6 +77,7 @@ export default async function RootLayout({
</div>
</SidebarProvider>
<Toaster />
+ <Analytics />
</ThemeProvider>
</body>
</html>
diff --git a/bun.lockb b/bun.lockb
index b591207b..0c252a2f 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/package.json b/package.json
index 41cc7115..b02420bd 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"@supabase/supabase-js": "^2.49.4",
"@tailwindcss/typography": "^0.5.12",
"@upstash/redis": "^1.34.0",
+ "@vercel/analytics": "^1.5.0",
"ai": "^4.3.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.0",