Commit Graph

3 Commits

Author SHA1 Message Date
lifeadventurer
c36cc8a14b refactor: improve readability in scripts.js 2023-11-24 23:51:55 +08:00
lifeadventurer
66d4c7c1fd refactor: improve code structure and readability in scripts.js
refactor the code structure - use a loop to iterate through the folderPaths fetched from the folders.json, this way if there are new generators you just need to add them to the folders.json, and make sure the orders are same as the one in html
2023-11-24 23:36:46 +08:00
lifeadventurer
639c1f047f feat(gallery): add last update time info to card footers
Enhance generator gallery by displaying the time difference since the last update in the footer by each card. This information is obtained from the GitHub API for the specified folders.
2023-11-24 20:24:43 +08:00