ryo-ma / github-profile-trophy

🏆 Add dynamically generated GitHub Stat Trophies on your readme
https://github-profile-trophy.vercel.app
MIT License
5.31k stars 791 forks source link

Limit and Page parameters #75

Closed OiYouYeahYou closed 10 months ago

OiYouYeahYou commented 3 years ago

I've been looking at adding this to my portfolio, but the fact it's a singular image in a col*row arrangement makes this poor for responsiveness. There is a hacky way where you can have several images and filter for each trophy. But I feel that misses something and could break ordering in the future.

It would be nice if there were 2 more parameters:

For example if you had 8 trophies (A,B,C,D,E,F,G,H). To get just the first 3 (A,B,C), you could set limit=3 and nothing for page, which can be done with row*col. For a second set (D,E,F) of 3, which would be limit=3 and page=2, which can't be achieved with row*col.

Additionally, one could add an offset, but I personally see no value in it in this case.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

OiYouYeahYou commented 10 months ago

Not stale; Not completed