Commit Graph

29 Commits

Author SHA1 Message Date
09c1d4bfe0 Remove cypress 2021-12-03 03:15:20 +00:00
61d72fd2b7 Fix data prefetch bug 2021-12-02 07:42:01 +00:00
5f799c4d29 Update build search script 2021-12-02 03:59:47 +00:00
142be807ec Update loading progress
* remove nprogress
* fix loading issue

Add absolute import path aliases
* optimization imports

Add fallback on navbar image

Fix post images zoom wrapper as button

Fix module.css import error
* add router prefetch to post page

Add paging prefetch
* add post comment component
2021-12-02 03:50:02 +00:00
1fec6a5f60 Fix dynamic width on some page
* use dynamic import to split code
* add post
2021-12-01 08:21:37 +00:00
9460f7569c Add algoliasearch
* add menu item
* add pages
* add build search script

Add custom algolia component
* fix image in post width

Delete useless file

Modify post data to algolia script
2021-11-29 23:10:33 +08:00
09a4ec43a7 Add image lazy load on index page 2021-11-25 23:13:58 +08:00
20eaca66d2 Add image lazy load hook
* remove fallback src on avatar
* remove PostImage component
* update README
* add iframe lazy load on post page
2021-11-25 22:55:05 +08:00
4db3db2a24 Fix menu list on mobile
* add ahooks library
* add useAppDispatch and useAppSelector hooks
* move out router event handle from useEffect
* fix router events off
2021-11-25 15:54:35 +08:00
b17c365063 Add switch router close menu on mobile 2021-11-23 23:49:48 +08:00
815618400e Add image lazy load
* add placeholder image
2021-11-23 23:27:05 +08:00
77ffb595ab Fix performance issue on dev
* add progress bar on switch routing
* add nprogress": "^0.2.0
2021-11-23 22:03:36 +08:00
a8076776d4 Add about content
* add Chakra icons
2021-11-22 22:51:52 +08:00
f07cb7aa6e Change Backtop component
* remove ant design
* fix border color on archive card
* fix div in p
2021-11-22 16:55:08 +08:00
aaad57fc4d Add dark mode
* add dark mode switch button
* modify footer
* fix nav menu opening issue
* add paging number
* remove post card a link focus shadow
* add _document
* remove archive card border on last child
* add post image zoom margin on desktop
* add post index image
* remove TOC scroll bar on firefox
2021-11-21 22:16:35 +08:00
65abf3ae83 Fix paging page num
Fix useless page
2021-11-20 14:04:35 +08:00
e4ebe9de1e Fix get post data without await 2021-11-20 11:41:21 +08:00
1d48411138 Fix checklist in markdown
* Add strip-markdown
* Add CopyButton component
* Fix copy code
* Add about page
* Use async function with get all markdown content
* Add shortcut icon
* Remove useless code
2021-11-20 11:34:21 +08:00
f19f817ad1 Add redux
* Fix back button in post page
* Add remark-gfm to render table in post page
2021-11-19 23:21:59 +08:00
45a9d436bb Update Dockerfile 2021-11-19 16:35:19 +08:00
f08aa4f678 Add e2e test
* add home page test
* add article page test
2021-11-19 16:18:52 +08:00
4e015bf7f8 Update Dcokerfile
* Update docker ignore
2021-11-19 10:26:55 +08:00
0f9090819d Modify page path 2021-11-19 09:17:45 +08:00
1233112632 Fix 'copy' button position 2021-11-18 23:05:47 +08:00
d749385d3c Fix tags is missing 2021-11-18 23:00:26 +08:00
bb247e210c Add giscus comment
* Remove tags from navbar
* Add tags to post card
* Add archive page
* Add get all archive data function
* Fix copy code
* Fix post images error
2021-11-18 22:52:28 +08:00
341b5ce896 Add code poay
* Add Footer on post page
2021-11-18 18:06:19 +08:00
45d259067e Add svg avatar 2021-11-18 11:36:00 +08:00
fe57cec9d5 Create blog with nextjs 2021-11-16 21:00:46 +08:00