Skip to content

Commit

Permalink
Adding vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Urbano authored and Urbano committed Aug 21, 2024
1 parent e80a335 commit cfd64e2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import './globals.css';
import { Quicksand } from 'next/font/google';

import { Analytics } from '@vercel/analytics/react';

const quicksand = Quicksand({ subsets: ['latin'] });

export const metadata = {
Expand All @@ -19,7 +21,10 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={quicksand.className}>{children}</body>
<body className={quicksand.className}>
{children}
<Analytics />
</body>
</html>
);
}
28 changes: 28 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 @@
"@types/node": "20.2.5",
"@types/react": "18.2.7",
"@types/react-dom": "18.2.4",
"@vercel/analytics": "^1.3.1",
"autoprefixer": "10.4.14",
"clsx": "^1.2.1",
"eslint": "8.41.0",
Expand Down

0 comments on commit cfd64e2

Please sign in to comment.