Skip to content

Commit

Permalink
Trying speed insights from vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Urbano authored and Urbano committed Sep 19, 2024
1 parent 94d8ef7 commit 106073f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import './globals.css';
import { Quicksand } from 'next/font/google';

import { Analytics } from '@vercel/analytics/react';
import { SpeedInsights } from "@vercel/speed-insights/next"

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

Expand All @@ -24,6 +25,7 @@ export default function RootLayout({
<body className={quicksand.className}>
{children}
<Analytics />
<SpeedInsights />
</body>
</html>
);
Expand Down
36 changes: 36 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 @@ -16,6 +16,7 @@
"@types/react": "18.2.7",
"@types/react-dom": "18.2.4",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.0.12",
"autoprefixer": "10.4.14",
"clsx": "^1.2.1",
"eslint": "8.41.0",
Expand Down

0 comments on commit 106073f

Please sign in to comment.