github-profile-trophy icon indicating copy to clipboard operation
github-profile-trophy copied to clipboard

Limit and Page parameters

Open OiYouYeahYou opened this issue 4 years ago • 0 comments

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:

  • limit - limits the total amount of trophies in an images
  • page - cycles through the list, aka pagination

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.

OiYouYeahYou avatar Sep 22 '21 17:09 OiYouYeahYou