Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the Contributor's Page #681

Merged
merged 1 commit into from
Feb 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading