diff --git a/Job-portal-application/frontend/package-lock.json b/Job-portal-application/frontend/package-lock.json index 35efa8b..93cdfae 100644 --- a/Job-portal-application/frontend/package-lock.json +++ b/Job-portal-application/frontend/package-lock.json @@ -17,6 +17,7 @@ "@radix-ui/react-slot": "^1.1.1", "@reduxjs/toolkit": "^2.5.0", "@tailwindcss/typography": "^0.5.19", + "@vercel/analytics": "^2.0.1", "axios": "^1.7.9", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", @@ -2410,6 +2411,48 @@ "integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==", "license": "MIT" }, + "node_modules/@vercel/analytics": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-2.0.1.tgz", + "integrity": "sha512-MTQG6V9qQrt1tsDeF+2Uoo5aPjqbVPys1xvnIftXSJYG2SrwXRHnqEvVoYID7BTruDz4lCd2Z7rM1BdkUehk2g==", + "license": "MIT", + "peerDependencies": { + "@remix-run/react": "^2", + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "nuxt": ">= 3", + "react": "^18 || ^19 || ^19.0.0-rc", + "svelte": ">= 4", + "vue": "^3", + "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@remix-run/react": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "nuxt": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/@vitejs/plugin-react": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", diff --git a/Job-portal-application/frontend/package.json b/Job-portal-application/frontend/package.json index 3854b4b..9ea0e9d 100644 --- a/Job-portal-application/frontend/package.json +++ b/Job-portal-application/frontend/package.json @@ -19,6 +19,7 @@ "@radix-ui/react-slot": "^1.1.1", "@reduxjs/toolkit": "^2.5.0", "@tailwindcss/typography": "^0.5.19", + "@vercel/analytics": "^2.0.1", "axios": "^1.7.9", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", diff --git a/Job-portal-application/frontend/src/App.jsx b/Job-portal-application/frontend/src/App.jsx index 541664a..17c0355 100644 --- a/Job-portal-application/frontend/src/App.jsx +++ b/Job-portal-application/frontend/src/App.jsx @@ -18,6 +18,7 @@ import PostJob from "./components/admincomponent/PostJob"; import Applicants from "./components/admincomponent/Applicants"; import ProtectedRoute from "./components/admincomponent/ProtectedRoute"; import Creator from "./components/creator/Creator.jsx"; +import { Analytics } from "@vercel/analytics/react"; const appRouter = createBrowserRouter([ { path: "/", element: }, @@ -120,6 +121,7 @@ function App() { return (
+
); }