Skip to content

Commit

Permalink
add speed insights
Browse files Browse the repository at this point in the history
  • Loading branch information
Rllyyy committed Nov 30, 2024
1 parent 586b451 commit c6549f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"cypress-real-events": "^1.13.0",
"eslint": "9.16.0",
"eslint-config-next": "15.0.3",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";

import { Navbar } from "@/components/navbar";
import { Footer } from "@/components/footer";
Expand Down Expand Up @@ -30,6 +31,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<Footer />
</Providers>
<Analytics />
<SpeedInsights />
</body>
</html>
);
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,11 @@
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.4.1.tgz#a28a93133d68b6e3d86884a52fa7893f5ecaa381"
integrity sha512-ekpL4ReX2TH3LnrRZTUKjHHNpNy9S1I7QmS+g/RQXoSUQ8ienzosuX7T9djZ/s8zPhBx1mpHP/Rw5875N+zQIQ==

"@vercel/speed-insights@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vercel/speed-insights/-/speed-insights-1.1.0.tgz#d48bce27b38a35da86805cc316656344a2230108"
integrity sha512-rAXxuhhO4mlRGC9noa5F7HLMtGg8YF1zAN6Pjd1Ny4pII4cerhtwSG4vympbCl+pWkH7nBS9kVXRD4FAn54dlg==

acorn-jsx@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
Expand Down

0 comments on commit c6549f8

Please sign in to comment.