novuhq / hacksquad-website

Contribute code, meet community members, participate in workshops, and win more SWAG 🚀
https://hacksquad.dev
MIT License
254 stars 189 forks source link

🚀 Feature: Pagination to LeaderBoard #130

Open programerr01 opened 11 months ago

programerr01 commented 11 months ago

🔖 Feature description

As more and more teams are created, it becomes harder to navigate around leaderboard page. The solution to it would be to add pagination such that let say only 20 teams are shown in a single page.

🎤 Why is this feature needed ?

improves useability of the site

✌️ How do you aim to achieve this?

divide the teams into batches and only current batch, pagination can be done with having a variable that stores offset

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

Are you willing to submit PR?

Yes I am willing to submit a PR!

theavitw commented 11 months ago

Please elaborate with some visuals.

programerr01 commented 11 months ago

in leaderboard page, we would only show certain number of teams and rest would be shown on the next page of leaderboard. image

theavitw commented 11 months ago

So, it is done or not?

programerr01 commented 11 months ago

not implemented yet, i can work on it