182 Commits

Author SHA1 Message Date
lifeadventurer
15d3cfb35a Feat(fortune): Implement theme switcher (Closes #42) 2024-11-01 21:25:42 +08:00
lifeadventurer
32b7abf7fc Impr(fortune): Add new special events for November 2024-11-01 18:49:08 +08:00
lifeadventurer
778cb316c0 Style: Apply deno lint and deno fmt across codebase 2024-10-31 19:56:47 +08:00
lifeadventurer
df772b0bde Refactor: Update service worker paths for custom domain 2024-10-31 17:56:49 +08:00
lifeadventurer
5ca0f68b5f Fix: Special event bug 2024-10-15 00:28:00 +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
31752fda2a Impr(special): Add new special events for October 2024-10-01 01:03:34 +08:00
lifeadventurer
312e003ad2 Impr(special): Add new special events for September 2024-09-17 23:19:21 +08:00
lifeadventurer
42dfbdc624 Impr(special): Add new special events for August 2024-08-23 00:26:15 +08:00
lifeadventurer
5acbf014f2 Impr(special): Add new special events for July 2024-08-22 19:29:12 +08:00
lifeadventurer
2261033611 Refactor: Replace substr with slice as substr is deprecated 2024-06-21 16:54:06 +08:00
lifeadventurer
a9668039ae Fix(fortune): Fix description showing undefined caused by negative seeds 2024-06-21 16:07:43 +08:00
lifeadventurer
4d097891e0 Fix(fortune): typo in scripts.js 2024-06-19 20:25:50 +08:00
lifeadventurer
b4d112693d Chore(fortune): Move function copyResultImageToClipboard and showCopiedNotice from fortune.js to scripts.js 2024-06-19 19:14:35 +08:00
lifeadventurer
8ac28e1d5c Feat(fortune): Chance to get different descriptions on the same event 2024-06-19 17:27:20 +08:00
lifeadventurer
29d910d06e Feat: Copied to clipboard notice and close #37 2024-06-17 22:05:47 +08:00
lifeadventurer
fa35f114be Fix: Incorrect special event date 2024-05-13 00:10:32 +08:00
lifeadventurer
eac44dc8db Impr(special): Add new special events for July 2024 2024-05-04 18:40:30 +08:00
lifeadventurer
950cdb531a Impr(special): Add new special events for June 2024 2024-05-04 17:55:58 +08:00
lifeadventurer
d7b46243b4 Impr(special): Add new special events for May 2024 2024-05-04 17:01:27 +08:00
lifeadventurer
d7c12a045b Fix: PWA cache not reloaded 2024-04-11 23:32:07 +08:00
lifeadventurer
3a9a17c319 Feat(fortune): Add new fortune events 2024-04-11 23:18:47 +08:00
lifeadventurer
116c505ba0 Feat: Show the copy button after clicking the getLuck button 2024-04-11 22:59:36 +08:00
lifeadventurer
74cf8dae86 Feat: Share fortune results as image and close #15
Co-authored-by: tobiichi3227 <cz1346219@gmail.com>
2024-04-07 23:52:23 +08:00
lifeadventurer
aa6f2e3166 Fix: Function daysDiff handling date bug 2024-03-31 00:07:17 +08:00
lifeadventurer
fad0f9d032 Fix: Gitroll scanned code smells 2024-03-21 22:30:02 +08:00
lifeadventurer
037beb020f Fix: Gitroll scanned bugs 2024-03-21 21:30:46 +08:00
lifeadventurer
3b7e205925 Fix: Special event feature is not functioning properly on IOS platforms and close #35 2024-03-21 15:03:26 +08:00
lifeadventurer
97a65aacce Impr(special): Add new special events for April 2024 2024-03-21 01:54:57 +08:00
lifeadventurer
a767fde4e6 impr: update fortune.json
avoid badFortunes events length equal to a power of two
2024-03-11 23:45:57 +08:00
lifeadventurer
8928828519 impr(special): add new special events for March 2024 2024-03-11 20:46:46 +08:00
lifeadventurer
ce66dd7228 fix: PWA manifest.json typo 2024-03-08 17:32:30 +08:00
tobiichi3227
ba0597f137 fix: pwa cache not reload (#34) 2024-03-08 17:27:00 +08:00
lifeadventurer
9a402bde78 fix: pwa support install fail 2024-03-04 00:12:44 +08:00
lifeadventurer
3adf03073b impr(special): add new special event 2024-01-25 23:53:32 +08:00
lifeadventurer
f77441d37d refactor: special event sections 2023-12-31 21:44:44 +08:00
lifeadventurer
2127f28ab7 fix: daysDiff function calculate error 2023-12-31 21:04:08 +08:00
lifeadventurer
72e2d6d1b5 rename script.js to scripts.js 2023-12-31 20:58:22 +08:00
lifeadventurer
32c9f1b961 stlye: if-else statements 2023-12-30 22:26:30 +08:00
lifeadventurer
ad5a78a672 chore: put json files in folder and update fetch path 2023-12-28 22:31:39 +08:00
lifeadventurer
93d0c3f3bf impr(special): add 3 special events 2023-12-28 00:17:54 +08:00
lifeadventurer
d777014ea7 feat: show the latest results nowadays
close #16

Co-authored-by: tobiichi3227 <cz1346219@gmail.com>
2023-12-25 21:14:17 +08:00
lifeadventurer
5c3148ac27 refactor: all files in folders 2023-12-24 16:08:41 +08:00
lifeadventurer
00c38cc608 chore: remove unused color in styles.css 2023-12-23 23:28:57 +08:00
lifeadventurer
b4c97f5370 fix: button can't display well in small screen 2023-12-23 23:11:50 +08:00
lifeadventurer
4eb05b8e46 feat: add dark mode and close #10 2023-12-23 22:57:59 +08:00
lifeadventurer
ad1466bcb1 feat: replace color variables by class
including good fortune, bad-fortune, middle-fortune, desc, date-color
2023-12-23 17:04:45 +08:00
lifeadventurer
ddcede0143 feat: add colors to :root 2023-12-23 15:47:25 +08:00
lifeadventurer
c818817a3f feat: add dark mode for fortune generator 2023-12-23 14:00:47 +08:00
lifeadventurer
e32ed07a61 change all logos to rounded including web icon 2023-12-22 00:52:39 +08:00