diff --git a/src/components/PageComp/EventsPage/Stats.jsx b/src/components/PageComp/EventsPage/Stats.jsx index d7a5a52f..ba01cc47 100644 --- a/src/components/PageComp/EventsPage/Stats.jsx +++ b/src/components/PageComp/EventsPage/Stats.jsx @@ -1,52 +1,26 @@ -import { useState } from 'react'; -import { FaUsers } from 'react-icons/fa'; -import { FaFontAwesomeFlag } from 'react-icons/fa'; +import { FaFontAwesomeFlag, FaUsers } from 'react-icons/fa'; import { MdOutlineAttachMoney } from 'react-icons/md'; import { VscSymbolEvent } from 'react-icons/vsc'; -import ScrollTrigger from 'react-scroll-trigger'; import CounterCard from '@/components/Cards/CounterCard'; const Stats = () => { - const [counterOn, setCounterOn] = useState(false); - return ( - setCounterOn(true)} - onExit={() => setCounterOn(false)} - > -
-

Numbers say it all

-
-
- - - - -
+
+

Numbers say it all

+
+
+ + + +
- +
); }; diff --git a/src/components/PageComp/HomePage/Stats.jsx b/src/components/PageComp/HomePage/Stats.jsx index c7f0d6ca..7915ec56 100644 --- a/src/components/PageComp/HomePage/Stats.jsx +++ b/src/components/PageComp/HomePage/Stats.jsx @@ -1,48 +1,19 @@ -import { useState } from 'react'; import { FaGraduationCap, FaMagic, FaUsers, FaYoutube } from 'react-icons/fa'; -import ScrollTrigger from 'react-scroll-trigger'; import CounterCard from '@/components/Cards/CounterCard'; const Stats = () => { - const [counterOn, setCounterOn] = useState(false); - return ( - setCounterOn(true)} - onExit={() => setCounterOn(false)} - > -
-

Numbers say it all

-
-
- - - - -
+
+

Numbers say it all

+
+
+ + + +
- +
); };