Commit Graph

22 Commits

Author SHA1 Message Date
Ryan Wang
ed652815b9 refactor: improve ui (#153)
优化整体的 UI 和布局。

```release-note
None
```
2024-07-08 09:05:23 +00:00
Ryan Wang
d4562c38de chore: bump dependencies (#138)
升级所有依赖的版本,并简化部分 TailwindCSS 的写法。

/kind improvement

```release-note
None
```
2024-04-11 16:10:11 +00:00
bxs
029714c95e perf: remove pointer cursor style for post card container (#64)
Fixed #53 

- 去掉了post-card的“cursor-pointer”,这样鼠标指针移入post-card只有可点击时才会显示“手指”

```release-note
移除文章卡片最外层的手型鼠标样式。
```
2023-04-11 04:30:25 +00:00
Ryan Wang
8bcc03b8b0 feat: add author archive template (#23)
添加作者页面,并将之前部分展示作者名称和头像的位置添加了作者访问链接。适配:https://github.com/halo-dev/halo/pull/2923

<img width="1920" alt="image" src="https://user-images.githubusercontent.com/21301288/207251573-cff9135c-6e0d-4af1-8db1-43bcfbbe2071.png">
<img width="1920" alt="image" src="https://user-images.githubusercontent.com/21301288/207251627-69def72d-1f8f-4b78-b743-e2faddb71837.png">

/kind feature

```release-note
添加作者模板,支持根据作者归档文章。
```
2022-12-15 05:10:10 +00:00
Ryan Wang
d6598c1722 refactor: use literal substitutions to improve th:class and th:text (#21)
使用 Thymeleaf 的 [Literal substitutions](https://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#literal-substitutions) 特性优化 th:class 和 th:text 标签的字符串拼接写法,一定程度上可以让代码提升阅读性。它的写法类似于 JavaScript 的 [Template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)。

/kind improvement

```release-note
None
```
2022-12-13 03:28:43 +00:00
Ryan Wang
f260f28db2 refactor: the author of the post uses the owner field
Fixes https://github.com/halo-dev/theme-earth/issues/18
2022-11-16 10:52:33 +08:00
Ryan Wang
193bef09c7 feat: add the icon for the pinned of the post 2022-11-13 15:05:11 +08:00
Ryan Wang
f641a855a9 feat: add default avatar image 2022-11-10 18:46:51 +08:00
Ryan Wang
752a8808da perf: improve dark mode scheme styles for post-card 2022-11-10 10:41:55 +08:00
Ryan Wang
2f50739a52 feat: add dark mode color scheme 2022-11-09 22:00:27 +08:00
Ryan Wang
afde519538 perf: optimize the distance between the published information and the excerpt in the post card
Fixes https://github.com/halo-sigs/theme-earth/issues/10
2022-11-08 22:39:03 +08:00
Ryan Wang
2702227d10 feat: support click post cover to enter details 2022-11-08 22:12:30 +08:00
Ryan Wang
fdb08770f0 perf: limit the number of lines in the title and excerpt of the post card
Fixes https://github.com/halo-sigs/theme-earth/issues/9
2022-11-08 22:06:10 +08:00
Ryan Wang
5934e2045c feat: support for cases where no logo is set 2022-11-08 14:20:53 +08:00
Ryan Wang
028e554b9b feat: add preview theme support 2022-10-24 11:40:53 +08:00
Ryan Wang
f657f5e62c styles: reformat code
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-10 14:51:02 +08:00
Ryan Wang
5a3ab42d89 feat: support setting post list layout
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-07 23:13:57 +08:00
Ryan Wang
d1f0ab2f57 feat: refine the site header configuration
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-07 22:21:24 +08:00
Ryan Wang
4409d28915 perf: improve styles
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 20:44:04 +08:00
Ryan Wang
253c9816d8 chore: refine package.json
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 18:58:38 +08:00
Ryan Wang
1180cce42c feat: preliminary completion of category archive page and sidebar
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 11:37:05 +08:00
Ryan Wang
d39c95bbce feat: preliminary completion of index page and post page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 00:38:24 +08:00