Commit Graph

106 Commits

Author SHA1 Message Date
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
b8ba0f8206 fix: not pre cache static files
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-07 23:29:23 +08:00
Moon
187b8ca54f docs: organize the comments
Co-authored-by: tobiichi3227 <cz1346219@gmail.com>
2023-12-07 23:13:16 +08:00
f76d2bf880 fix: offline cache failed
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-07 22:55:54 +08:00
d15d9b30d3 feat: add offline status support 2023-12-07 20:59:34 +08:00
d6017207c6 pref: remove unused js library
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-07 19:35:49 +08:00
4934ca5119 fix: cannot create files in windows
sorry moon
2023-12-06 22:02:13 +08:00
a13092817d feat: add pwa support
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-06 21:32:54 +08:00
lifeadventurer
d9677aaec8 impr(jquery): save jquery search to a variable to improve performance 2023-11-28 00:19:07 +08:00
lifeadventurer
f8cb638a02 fix: special event display error 2023-11-27 23:42:01 +08:00
lifeadventurer
eda48aa902 impr: add new special events 2023-11-25 22:31:41 +08:00
lifeadventurer
4ae5d372cb refactor: jquery switch page with show and hide
use two div to group the init page and result page to increase readability
2023-11-25 22:23:10 +08:00
lifeadventurer
b6375dadeb fix: double span cause display error 2023-11-25 22:05:39 +08:00
lifeadventurer
462c6363f6 fix: all bold text <b> tag error 2023-11-25 18:18:02 +08:00
lifeadventurer
48df3a8652 feat: increase the convenience of adding new special events
When an event in special.json is empty, a general event will be used instead
2023-11-25 18:09:40 +08:00
lifeadventurer
0000d58be3 fix: get rid of the time difference decimal 2023-11-25 17:24:25 +08:00
lifeadventurer
ae558ebdf4 add icon for all index.html 2023-11-23 22:49:26 +08:00
lifeadventurer
35fb70f833 fix: special event display error 2023-11-23 12:25:40 +08:00
lifeadventurer
d855462e90 refactor the colors of initial page 2023-11-23 12:20:39 +08:00
lifeadventurer
878d5eb1b0 fix: special event date error 2023-11-23 11:37:53 +08:00
lifeadventurer
ded1f61a28 fix: jquery button disable bug 2023-11-23 11:15:06 +08:00
lifeadventurer
79b0c3517d turn button to disabled after click 2023-11-23 11:06:58 +08:00
lifeadventurer
042b5c6826 update special events 2023-11-23 10:54:32 +08:00
lifeadventurer
ed520918fc adjust all bold text 2023-11-22 23:05:19 +08:00
lifeadventurer
4aed319463 change toggle to show to fix the disappear bug cause by double click 2023-11-21 23:28:43 +08:00
lifeadventurer
30b6f4e2ac adjust hashDate a bit 2023-11-21 12:46:20 +08:00
lifeadventurer
6d2bfa3d81 fix: hash bug 2023-11-21 11:48:09 +08:00