Skip to content

feat: dedicated contributors leaderboard (#4) - #8

Open
ShivamBhasin2002 wants to merge 2 commits into
mainfrom
feat/contributors-section
Open

feat: dedicated contributors leaderboard (#4)#8
ShivamBhasin2002 wants to merge 2 commits into
mainfrom
feat/contributors-section

Conversation

@ShivamBhasin2002

Copy link
Copy Markdown
Collaborator

Summary

  • Adds /contributors page with live GitHub API data (revalidates hourly)
  • Podium view for top 3 contributors (gold/silver/bronze styling)
  • Full leaderboard showing rank, avatar, name, bio, public repos, followers, and commit count
  • Added Contributors nav item with trophy icon in sidebar & mobile nav
  • Gracefully handles API failures with fallback message

Test plan

  • Visit /contributors — leaderboard renders with GitHub data
  • Top 3 show podium cards with correct rank emojis
  • Clicking a contributor card opens their GitHub profile
  • Nav item "Contributors" appears in sidebar and mobile bottom nav
  • Falls back gracefully if GitHub API is unavailable

Closes #4

🤖 Generated with Claude Code

- New /contributors page fetching live data from GitHub API
- Shows leaderboard with rank, avatar, username, commits, bio, repos, followers
- Top 3 displayed as podium cards with gold/silver/bronze styling
- Data revalidates hourly via Next.js ISR
- Added Contributors nav item with trophy icon
- Added faTrophy to icon-utils

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
delhi-devs-rebooted Ready Ready Preview, Comment Mar 17, 2026 4:37pm

Add github.com and avatars.githubusercontent.com to Next.js image
remotePatterns so contributor avatars render without runtime errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dedicated contributors section

1 participant