323 Commits

Author SHA1 Message Date
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
tobiichi3227
ace95c61f0 feat: change logo icon to rounded (#33)
Close #32
2024-03-07 23:03:08 +08:00
lifeadventurer
909eca1c9f chore: remove unnecessary Date() create
Co-authored-by: tobiichi3227 <cz1346219@gmail.com>
2024-03-07 22:51:31 +08:00
lifeadventurer
8b2a3c6e01 chore: organize docs/ and add dev/plot_gen.py 2024-03-07 22:45:13 +08:00
lifeadventurer
561fb6ef39 impr: replace previous statistics graph with a new one generated by plot_gen.py 2024-03-07 22:36:17 +08:00
lifeadventurer
98c3a8ee18 stlye: lint markdown 2024-03-07 22:04:10 +08:00
lifeadventurer
00519b53f2 chore: add .gitignore 2024-03-07 18:14:30 +08:00
tobiichi3227
92cd79a70f docs: add distribution statistics about fortune events (#29)
* docs: add docs about distribution of fortune item

* remove unused loop

* docs: add description of statistics method

* style: add comment and format code

* refactor: fortune_status_statistics.md

Use tables to better display statistical results

---------

Co-authored-by: Moon <108756201+LifeAdventurer@users.noreply.github.com>
2024-03-06 23:51:24 +08:00
lifeadventurer
9a402bde78 fix: pwa support install fail 2024-03-04 00:12:44 +08:00
lifeadventurer
7f610cb774 chore: update copyright to 2023-2024 2024-03-04 00:05:53 +08:00
tobiichi3227
ae666dfd50 docs: add docs about distribution of fortune (#28) 2024-03-01 22:43:58 +08:00
lifeadventurer
47a201e1d7 impr(quotes): add 7 new quotes 2024-02-20 21:09:35 +08:00
lifeadventurer
8e1c38e180 chore: add stale PR workflow 2024-02-19 14:07:34 +08:00
lifeadventurer
3adf03073b impr(special): add new special event 2024-01-25 23:53:32 +08:00
lifeadventurer
3347054a84 impr(quotes): add 5 new English quotes 2024-01-25 23:47:55 +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
f95511c480 fix: fetch json file path error 2023-12-28 22:21:36 +08:00
lifeadventurer
83ef37a5d0 fix: styles.css path error in quote generator 2023-12-28 22:16:30 +08:00
lifeadventurer
a99fd4d831 chore: put json files under quote generator in folder 2023-12-28 22:12:27 +08:00
lifeadventurer
b7c910ae23 chore: delete .gitignore in quote generator 2023-12-28 22:11:07 +08:00
lifeadventurer
722215b86a impr(quotes): add 7 new quotes 2023-12-28 22:08:52 +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
bd09fc1e19 feat: dark mode for generators gallery 2023-12-24 20:22:00 +08:00
lifeadventurer
98fa3db674 refactor: put all colors to :root 2023-12-24 17:04:21 +08:00
lifeadventurer
5c3148ac27 refactor: all files in folders 2023-12-24 16:08:41 +08:00
lifeadventurer
b16b4749bf chore: update file path 2023-12-24 15:55:22 +08:00
lifeadventurer
4d4d34392c refactor: organize files in folders 2023-12-24 15:51:55 +08:00
lifeadventurer
55b04e429a chore: remove useless file 2023-12-24 15:49:58 +08:00
lifeadventurer
3a11c5e320 chore: update web title 2023-12-23 23:44:27 +08:00
lifeadventurer
baf16ec368 impr: increase button font-size 2023-12-23 23:42:39 +08:00
lifeadventurer
eb02b8dbbf feat: add dark mode 2023-12-23 23:37:08 +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