Skip to content

Commit 22c9155

Browse files
Merge pull request #97 from syntaxandsips/mr-dark-debug/add-vercel-speed-insights-integration
feat: integrate Vercel Speed Insights
2 parents 27a8b13 + 0180ff7 commit 22c9155

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

package-lock.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@supabase/supabase-js": "^2.48.0",
2929
"@tanstack/react-table": "^8.21.3",
3030
"@vercel/analytics": "^1.5.0",
31+
"@vercel/speed-insights": "^1.1.0",
3132
"class-variance-authority": "^0.7.1",
3233
"clsx": "^2.1.1",
3334
"framer-motion": "^12.8.0",

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { NextWebVitalsMetric } from "next/app";
33
import { headers } from "next/headers";
44
import { Geist, Geist_Mono } from "next/font/google";
55
import { Analytics } from "@vercel/analytics/next";
6+
import { SpeedInsights } from "@vercel/speed-insights/next";
67
import "./globals.css";
78
import "@/styles/neo-brutalism.css";
89
import ConditionalNavbar from "@/components/ConditionalNavbar";
@@ -110,6 +111,7 @@ export default async function RootLayout({
110111
<Toaster theme="light" position="bottom-right" richColors closeButton />
111112
{children}
112113
<Analytics />
114+
<SpeedInsights />
113115
</LoaderProvider>
114116
</body>
115117
</html>

0 commit comments

Comments
 (0)