diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index ea36f59c..d6954d0c 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -3,7 +3,7 @@ import Link from 'next/link' import { Container } from '@/components/Container' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faEnvelope } from '@fortawesome/free-solid-svg-icons' -import { faDiscord, faGithub, faGitlab, faTwitter } from '@fortawesome/free-brands-svg-icons' +import { faDiscord, faGithub, faGitlab, faXTwitter } from '@fortawesome/free-brands-svg-icons' function NavLink({ href, children }) { return ( @@ -33,20 +33,40 @@ export function Footer() { © 2016-2025 AOSSIE. All rights reserved.

- - + + + + + - - + + - - + + - - - - - + +
diff --git a/src/config/orgStats.js b/src/config/orgStats.js new file mode 100644 index 00000000..f5f97177 --- /dev/null +++ b/src/config/orgStats.js @@ -0,0 +1,5 @@ +export const orgStats = { + activeProjects: 34, + totalContributors: 500, + communityCount: 3800, +} diff --git a/src/pages/about.jsx b/src/pages/about.jsx index 88c1768c..0b83a7b7 100644 --- a/src/pages/about.jsx +++ b/src/pages/about.jsx @@ -5,6 +5,7 @@ import { Container } from '@/components/Container'; import { Banner } from '@/components/Banner'; import React from 'react'; import { Line } from 'react-chartjs-2'; +import { orgStats } from '@/config/orgStats' import { Chart as ChartJS, LineElement, CategoryScale, LinearScale, PointElement } from 'chart.js'; ChartJS.register(LineElement, CategoryScale, LinearScale, PointElement); @@ -143,7 +144,7 @@ export default function About() {
-

+

ABOUT

@@ -154,15 +155,21 @@ export default function About() {

-

34+

+

+ {orgStats.activeProjects}+ +

Active Projects

-

500+

+

+ {orgStats.totalContributors}+ +

Total Contributors

-

3800+

+

+ {orgStats.communityCount}+ +

Community Count

@@ -179,7 +186,7 @@ export default function About() { }} >
-

+

GSOC CONTRIBUTION

diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 14e063cd..bdac3a7d 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -1,3 +1,4 @@ +import { orgStats } from '@/config/orgStats' import Head from 'next/head' import Link from 'next/link' import Image from 'next/image' @@ -10,7 +11,7 @@ import { faDiscord, faGithub, faGitlab, - faTwitter, + faXTwitter, } from '@fortawesome/free-brands-svg-icons' import { CardEffect } from '@/components/CardEffect' import { Banner } from '@/components/Banner' @@ -59,13 +60,13 @@ export default function Home() { achieve innovation and education.

- - - + + + - +
@@ -100,10 +101,9 @@ export default function Home() { - - Learn More About Us - - + + +
Active Projects
-

34+

+

+ {orgStats.activeProjects}+ +

Total Contributors
-

500+

+

+ {orgStats.totalContributors}+ +

Community Count
-

2000+

+

+ {orgStats.communityCount}+ +