41 Commits

Author SHA1 Message Date
2594dd3da8 Update media query to 640px 2022-01-11 16:07:40 +08:00
7bdb52a03d Fix table of contents issue 2022-01-10 11:33:30 +08:00
3f5796a122 Update comment loading match 2022-01-04 10:16:20 +08:00
6859bf9e02 Update post rust-reference-cycles-and-memory-leak
* fix image width
2022-01-03 18:08:00 +08:00
d67cbcae85 Fix comment disappear
* Add ts-node
2022-01-03 10:28:49 +08:00
d721b896bd Optimize performance
* set post card image height
* fix copy button issue
2021-12-31 16:52:26 +08:00
47a8ace8e8 Reduce page data json
* remove useless data on special page
2021-12-31 12:22:30 +08:00
6eda02b3d1 Optimize develop performance
* Fix type error
2021-12-30 14:52:27 +08:00
b2698ad3b1 Optimize develop performance 2021-12-30 14:29:54 +08:00
1d91f1ad4f Update about page
* update mdx
* remove useless css file
* add mdx layouts
* add custom mdx components
* rename loading components
2021-12-24 12:09:49 +08:00
c5af8949a5 Update PostCard image lazy loading
* update navbar handleclick type
2021-12-23 16:41:49 +08:00
c8505eba02 Update types 2021-12-20 16:10:39 +08:00
0df5874960 New post javascript-structured-clone
* update useEffect dependency
2021-12-17 07:37:04 +00:00
168bd10fff Update search box height issue
* modify post styles
* add hist card loading
* chang custom hits
2021-12-16 07:04:12 +00:00
d1c665f66b Update comment loading 2021-12-16 04:12:48 +00:00
37bd011bf4 Add comment skeleton for post omment
* change Giscus dark theme to dark_dimmed
2021-12-11 11:47:02 +08:00
5e8c363a78 Add Search component lazy load
* add BackTopTop component lazy load
* update some posts title
2021-12-10 15:01:33 +08:00
7bbf85802f Add post head and comment lazyload 2021-12-10 12:02:42 +08:00
73d81cbd81 Fix seach margin
* update post my-development-environment
* change post image wrapper element to picture
* fix a element in post margin
* chang h2 in post margin to padding
2021-12-09 21:29:16 +08:00
967d10b289 Disable archive card prefectch post data
* add hit card prefetch
2021-12-05 01:02:03 +08:00
15f5feee66 Fix router prefetch performance issue 2021-12-05 00:53:37 +08:00
6a329d01b5 Update search
* update algolia replace all objects
* add table of content skeleton
* add bg color
* move comment info to .env
2021-12-05 00:34:14 +08:00
a288850133 Update archive card loading
* split post component
* prefetch menu page
* update post my-development-environment
2021-12-04 07:47:23 +00:00
61d72fd2b7 Fix data prefetch bug 2021-12-02 07:42:01 +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
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
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
f08aa4f678 Add e2e test
* add home page test
* add article page test
2021-11-19 16:18:52 +08:00
0f9090819d Modify page path 2021-11-19 09:17:45 +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
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