Skip to content

Commit

Permalink
added speed insights
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevyashsaini committed Jul 23, 2024
1 parent a0c1bb1 commit adfa30f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
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 @@ -18,6 +18,7 @@
"@reduxjs/toolkit": "^2.2.6",
"@supabase/ssr": "^0.4.0",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.0.12",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.408.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Loading from "@/components/loading";
import { Inter } from "next/font/google";
import "./globals.css";
import { Analytics } from "@vercel/analytics/react"
import { SpeedInsights } from "@vercel/speed-insights/next"

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -30,6 +31,7 @@ export default function RootLayout({
<body className={inter.className}>
<Suspense fallback={<Loading />}>{children}</Suspense>
<Analytics />
<SpeedInsights />
</body>
</html>
);
Expand Down

1 comment on commit adfa30f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for iiitvcc ready!

✅ Preview
https://iiitvcc-khseh7rj8-iiitv-coding-clubs-projects.vercel.app

Built with commit adfa30f.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.