Skip to content

Commit

Permalink
Added Vercel Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
kmiguel10 committed Oct 10, 2023
1 parent 9abff19 commit 42f1383
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import "./globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Analytics } from "@vercel/analytics/react";

const inter = Inter({ variable: "--inter-font", subsets: ["latin"] });

Expand All @@ -16,7 +17,10 @@ export default function RootLayout({
}) {
return (
<html lang="en" className="dark" style={{ background: "black" }}>
<body className={inter.className}>{children}</body>
<body className={inter.className}>
{children}
<Analytics />
</body>
</html>
);
}
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@supabase/auth-helpers-nextjs": "^0.8.1",
"@supabase/supabase-js": "^2.38.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@vercel/analytics": "^1.1.0",
"@visx/tooltip": "^3.3.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
Expand Down

0 comments on commit 42f1383

Please sign in to comment.