-
Notifications
You must be signed in to change notification settings - Fork 13
Description
🎯 Objective
Develop a Leaderboard Component that displays the top players' rankings. The design should match the Figma design and be fully responsive.
🔍 Context
The leaderboard will showcase players' names, scores, and rankings. It should be visually appealing, user-friendly, and accessible across different screen sizes.
📋 Tasks
- Create a
Leaderboard.tsxcomponent insidecomponents/. - Implement a ranking list that displays player names and scores.
- Ensure dynamic data rendering (accept props or use a mock array).
- Make the component fully responsive across all screen sizes.
- Integrate the component into the Leaderboard page (
LeaderboardPage.tsx).
💻 Technical Implementation
1️⃣ Create Leaderboard.tsx inside components/.
2️⃣ Use a flex/grid layout for proper alignment of player rankings.
3️⃣ Accept props for leaderboard data or use a temporary mock array.
4️⃣ Ensure accessibility (proper HTML semantics and keyboard navigation).
5️⃣ Import and use the component in LeaderboardPage.tsx.
📌 Contributor Reminders
✅ Check the Contribution Guidelines: 🔗 CONTRIBUTING.md
✅ Sync with the latest changes from the LogiQuest repository before working on this issue.
📝 Acceptance Criteria
✅ The Leaderboard Component matches the Figma design.
✅ The component displays rankings, names, and scores properly.
✅ The leaderboard is responsive across all screen sizes.
✅ The component integrates correctly into LeaderboardPage.tsx.
💪 Skills Required
- React
- Tailwind CSS
- State Management (if needed)
- Responsive Design
📈 Difficulty
Medium