diff --git a/ml-nexus/src/components/Contributors.jsx b/ml-nexus/src/components/Contributors.jsx index fa2008ab..916a4837 100644 --- a/ml-nexus/src/components/Contributors.jsx +++ b/ml-nexus/src/components/Contributors.jsx @@ -1,23 +1,41 @@ -import React, { useContext } from 'react' -import { repoContext } from '../utils/Context' +import React, { useContext } from 'react'; +import { repoContext } from '../utils/Context'; function Contributors() { - const { contributors } = useContext(repoContext) + const { contributors } = useContext(repoContext); + return ( <> -
-

Our Contributors

+
+

Our Contributors

- {contributors.map((c, i) =>
-
- {c.avatar_url} + {contributors.map((c, i) => ( +
+ {/* Contributor's Avatar */} +
+ {c.login} +
+ + {/* GitHub Profile Link and Username */} + + {c.login} + + + {/* Number of Contributions */} +

+ Contributions: {c.contributions} +

-

{c.login}

-
)} + ))}
- ) + ); } -export default Contributors \ No newline at end of file +export default Contributors;