Skip to content

Commit

Permalink
Fixed the Contributor's Page (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsingh1281 authored Feb 9, 2025
2 parents e807d83 + 0788b5e commit 36b5387
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions src/components/Contributors-page/Contributors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,43 +80,6 @@ function Contributors() {
</div>
</div>

{/* Contributors Grid */}


<div className="flex flex-wrap justify-center gap-8 ">
{loading ? (
<p>Loading...</p>
) : error ? (
<p>{error}</p>
) : contributors.length > 0 ? (
contributors.map((contributor) => (
<div key={contributor.id} className="flex justify-center flex-col items-center p-3 bg-black">
<img
src={contributor.avatar_url}
alt={contributor.login}
className="h-20 w-20 rounded-full border-2 border-textWhite "
/>
<a
href={contributor.html_url}
className=""
target="_blank"
rel="noopener noreferrer"
>
</a>
<h2 className="">{contributor.login}</h2>
<p className="">
Contributions: {contributor.contributions}
</p>
</div>
))
) : (
<p>No contributors found.</p>
)}
</div>




<div className="contributors-grid">
{loading ? (
<p>Loading...</p>
Expand Down

0 comments on commit 36b5387

Please sign in to comment.