Skip to content

Commit

Permalink
addded vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevyashsaini committed Jul 23, 2024
1 parent a3a5dce commit a0c1bb1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
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 @@ -17,6 +17,7 @@
"@radix-ui/react-slot": "^1.1.0",
"@reduxjs/toolkit": "^2.2.6",
"@supabase/ssr": "^0.4.0",
"@vercel/analytics": "^1.3.1",
"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 @@ -3,6 +3,7 @@ import React, { Suspense } from "react";
import Loading from "@/components/loading";
import { Inter } from "next/font/google";
import "./globals.css";
import { Analytics } from "@vercel/analytics/react"

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

Expand All @@ -28,6 +29,7 @@ export default function RootLayout({

<body className={inter.className}>
<Suspense fallback={<Loading />}>{children}</Suspense>
<Analytics />
</body>
</html>
);
Expand Down

1 comment on commit a0c1bb1

@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-k2g5bto1g-iiitv-coding-clubs-projects.vercel.app

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

Please sign in to comment.