Commit Graph

11 Commits

Author SHA1 Message Date
lifeadventurer
778cb316c0 Style: Apply deno lint and deno fmt across codebase 2024-10-31 19:56:47 +08:00
lifeadventurer
32e3b5b9a3 Refactor: Use const instead of let for immutable variables (Make LSP happy) 2024-10-12 00:27:15 +08:00
lifeadventurer
fad0f9d032 Fix: Gitroll scanned code smells 2024-03-21 22:30:02 +08:00
lifeadventurer
32c9f1b961 stlye: if-else statements 2023-12-30 22:26:30 +08:00
lifeadventurer
bd09fc1e19 feat: dark mode for generators gallery 2023-12-24 20:22:00 +08:00
lifeadventurer
6d8364f720 fix: folderPaths index bug 2023-11-25 00:23:36 +08:00
lifeadventurer
acc0bdcac2 fix: format time difference function typo 2023-11-24 23:59:35 +08:00
lifeadventurer
0655788960 fix: folderIndex initial value error 2023-11-24 23:58:17 +08:00
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