Skip to content

Commit e1ca775

Browse files
committed
feat: add SiteAnalytics to dashboard layout, add Vercel packages to package.json
1 parent 99c7105 commit e1ca775

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/(dashboard)/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { AppSidebar } from "@/components/app-sidebar";
88
import { SiteHeader } from "@/components/site-header";
99
import { SidebarProvider, SidebarInset } from "@/components/ui/sidebar";
1010
import { Toaster } from "@/components/ui/sonner";
11+
import { SiteAnalytics } from "@/components/analytics";
1112

1213
const nunito = Nunito({
1314
subsets: ["latin"],
@@ -83,6 +84,7 @@ export default async function DashboardLayout({
8384
)}
8485
<Toaster />
8586
</ThemeProvider>
87+
<SiteAnalytics />
8688
</body>
8789
</html>
8890
);

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
"@supabase/ssr": "^0.9.0",
6565
"@supabase/supabase-js": "^2.98.0",
6666
"@uidotdev/usehooks": "^2.4.1",
67+
"@vercel/analytics": "^1.5.0",
68+
"@vercel/speed-insights": "^1.2.0",
6769
"algoliasearch": "^5.49.1",
6870
"class-variance-authority": "^0.7.1",
6971
"clsx": "^2.1.1",

0 commit comments

Comments
 (0)