72 Commits

Author SHA1 Message Date
17deaa8682 Add post 2022-03-21 15:58:52 +08:00
8b664aff82 Merge pull request #33 from DefectingCat/dependabot/npm_and_yarn/simple-get-4.0.1
Bump simple-get from 4.0.0 to 4.0.1
2022-03-17 17:30:42 +08:00
58a23b0768 Fix error positon property
* remove useless prop types
2022-03-07 15:49:54 +08:00
36b7b35797 Remove useless revalidate 2022-03-07 11:05:19 +08:00
b7037ba0f8 Remove useless revalidate 2022-03-07 10:01:35 +08:00
d1eb62cb04 Update prisma
* remove useless dependency
* update lock file
2022-03-06 21:53:47 +08:00
d2d4f2b8b1 Add tweet card
* add new hooks useUnified
* fix ol li has not list style
* add handle no tweets
2022-03-06 21:41:08 +08:00
bf26574287 Update npm mirror in docker 2022-03-06 20:20:04 +08:00
1cf58e9f9b Update nextjs to 12.1
* update modify post save to db
* Update concurrent fectures
* Update exist post
2022-02-18 11:52:38 +08:00
7f66c3eade Add custom 404 page 2022-02-11 19:45:43 +08:00
611f2112b8 Update docker compose file
* Add token in global state
2022-02-10 20:40:47 +08:00
5e6efb9976 Update search box
* add forward ref
* add get posts API
* Add search loading card
* Search page done
* Update build script
2022-02-09 17:59:33 +08:00
5e1f58a144 Add search API
* update prisma
* Add search API in page
* add API with fetch
* Update search with global state
2022-02-08 20:40:08 +08:00
89f290218b Add search API 2022-02-07 21:28:57 +08:00
ca376f0656 Switch get post to prisma
* Switch post page to get post with prisma
* Switch pagination page to get data from database
* Switch search page to get data from database
* Add archive card loading
2022-02-07 21:28:29 +08:00
3a33d5ea24 Update schame
* add all post to db scripte
2022-01-30 18:06:17 +08:00
fb64e9c7bf Update database schema 2022-01-30 11:48:54 +08:00
8bd187a960 Bump simple-get from 4.0.0 to 4.0.1
Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-29 00:28:10 +00:00
5c6f91fed6 Add plant scale
* switch database to mysql
* add find user api
* add RUAInput compoent
* update RUAButton onClick
* refactor user api
* add login form
2022-01-28 18:18:24 +08:00
30c4540594 Update depencies
* Fix post toc style
* Add loading skeleton
* add post comment loading anime
* update underline style
2022-01-27 20:17:06 +08:00
ba0741a049 Fix head issue
* change code backgroud in dark mode
2022-01-27 16:40:12 +08:00
590399b3b6 Add prisma in docker
* update schema
2022-01-27 15:14:56 +08:00
4d81ad159c Add archive page
* remove useless folder
* add tweets nav item
2022-01-26 20:54:23 +08:00
17e5c5e675 Add prisma 2022-01-26 15:38:38 +08:00
affc38fd1f Add dark mode button in post page
* add dark hljs css
* add switch dark theme on comment component
* add post image explicit height
* add html tag lang attribute
2022-01-20 15:08:39 +08:00
754c166015 Add comment component
* add in browser view hook
2022-01-20 13:55:27 +08:00
5636cc167f Update runtime dependencies 2022-01-20 13:21:52 +08:00
3654f3fcc2 Update Dockerfile 2022-01-19 21:53:17 +08:00
2279639586 Fix dark mode script 2022-01-19 21:28:23 +08:00
77d363c7b0 Add lazy load image in post
* add lazy load iframe in post
* add image zoom modal background dark color
* add lazy load hook
2022-01-19 20:35:12 +08:00
7c21f3c607 Add dark mode state to global state.
* update mobile menu icon dark color
* update post page dark mode
2022-01-19 17:38:02 +08:00
f4ab03e711 Add toggle dark mode. 2022-01-19 15:58:42 +08:00
db5d49849a Add dark color 2022-01-19 12:16:32 +08:00
9d4d345d81 Add Footer component 2022-01-19 11:46:55 +08:00
3002cdb01c Add back path
* add path link component
2022-01-19 11:27:56 +08:00
0062edf2cb Modify post content style 2022-01-18 22:42:50 +08:00
3413662a2a Fix tiny issues
* fix tags margin
* modify article padding
* fix search page icon position
* add custom color
2022-01-18 22:27:57 +08:00
a424ace08d Add post page
* add post table of content component
* add post header component
* modify rua css
* fix RUA Link component external icon always displayed
2022-01-18 22:06:04 +08:00
c4a2e5016b Update git ignore 2022-01-18 10:47:36 +08:00
a954b692f6 Add prettier 2022-01-18 10:33:07 +08:00
ca6ac39dcc Rename function 2022-01-17 22:58:11 +08:00
c22df758df Update link underline 2022-01-17 22:42:52 +08:00
3b2565932c Update fonts 2022-01-17 22:37:44 +08:00
ea8c172dac Fix some little issues
* use emoji instead png
2022-01-17 22:35:38 +08:00
df7b83a489 Fix some little issues 2022-01-17 22:22:54 +08:00
0a864bdca2 Add RUA global state 2022-01-17 22:04:52 +08:00
fa75ad565c Add Search box in search page 2022-01-17 21:39:14 +08:00
1d649e3daa Add about page
* add RUA link component
* add MDX layout component
* add MDX h2 component
2022-01-17 18:24:04 +08:00
bff68dec9b Add pagination component
* add outline box shadow
* add pagination pages
* add RUA button
2022-01-17 12:32:32 +08:00
14e606ddb4 Add search page
* add search box go to search page
2022-01-17 11:25:10 +08:00