diff --git a/frontend/package-lock.json b/frontend/package-lock.json index e7fdae6..36a2358 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -19,6 +19,7 @@ "leaflet": "^1.9.4", "lucide-react": "^0.453.0", "react": "^18.3.1", + "react-countup": "^6.5.3", "react-datepicker": "^7.4.0", "react-dom": "^18.3.1", "react-helmet": "^6.1.0", @@ -26,6 +27,7 @@ "react-leaflet": "^4.2.1", "react-responsive": "^10.0.0", "react-router-dom": "^6.26.2", + "react-visibility-sensor": "^5.1.1", "shadcn-ui": "^0.2.3", "sitemap": "^8.0.0", "socket.io-client": "^4.8.0", @@ -3373,6 +3375,12 @@ } } }, + "node_modules/countup.js": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/countup.js/-/countup.js-2.8.0.tgz", + "integrity": "sha512-f7xEhX0awl4NOElHulrl4XRfKoNH3rB+qfNSZZyjSZhaAoUk6elvhH+MNxMmlmuUJ2/QNTWPSA7U4mNtIAKljQ==", + "license": "MIT" + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -6676,6 +6684,18 @@ "node": ">=0.10.0" } }, + "node_modules/react-countup": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/react-countup/-/react-countup-6.5.3.tgz", + "integrity": "sha512-udnqVQitxC7QWADSPDOxVWULkLvKUWrDapn5i53HE4DPRVgs+Y5rr4bo25qEl8jSh+0l2cToJgGMx+clxPM3+w==", + "license": "MIT", + "dependencies": { + "countup.js": "^2.8.0" + }, + "peerDependencies": { + "react": ">= 16.3.0" + } + }, "node_modules/react-datepicker": { "version": "7.5.0", "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-7.5.0.tgz", @@ -6848,6 +6868,19 @@ "react": "^16.3.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/react-visibility-sensor": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/react-visibility-sensor/-/react-visibility-sensor-5.1.1.tgz", + "integrity": "sha512-cTUHqIK+zDYpeK19rzW6zF9YfT4486TIgizZW53wEZ+/GPBbK7cNS0EHyJVyHYacwFEvvHLEKfgJndbemWhB/w==", + "license": "MIT", + "dependencies": { + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": ">=16.0.0", + "react-dom": ">=16.0.0" + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index e61c06d..808019b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,6 +22,7 @@ "leaflet": "^1.9.4", "lucide-react": "^0.453.0", "react": "^18.3.1", + "react-countup": "^6.5.3", "react-datepicker": "^7.4.0", "react-dom": "^18.3.1", "react-helmet": "^6.1.0", @@ -29,6 +30,7 @@ "react-leaflet": "^4.2.1", "react-responsive": "^10.0.0", "react-router-dom": "^6.26.2", + "react-visibility-sensor": "^5.1.1", "shadcn-ui": "^0.2.3", "sitemap": "^8.0.0", "socket.io-client": "^4.8.0", diff --git a/frontend/src/Pages/AboutUs.jsx b/frontend/src/Pages/AboutUs.jsx index 521f558..ff8d56a 100644 --- a/frontend/src/Pages/AboutUs.jsx +++ b/frontend/src/Pages/AboutUs.jsx @@ -2,6 +2,7 @@ import React from 'react'; // Importing React import { useNavigate } from 'react-router-dom'; // Importing navigation function import backicon from '../assets/svg/backicon.svg'; // Importing back icon asset import TeamSection from '../components/TeamSection'; +import Stats from '../components/Stats'; // About component const AboutUs = () => { // UseNavigate hook for navigation @@ -112,6 +113,10 @@ const AboutUs = () => { +