Commit Graph

18 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
da5ce26e7f refactor: separate hero image from header component (#31)
重构 header.html 部分的代码,将头部展示区域从 header.html 分离出来,方便单独为 header 设置 sticky 定位。以便解决:https://github.com/halo-dev/theme-earth/issues/27

/kind improvement

```release-note
None
```
2022-12-26 02:32:31 +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
dfb95dc40f perf: refine page title 2022-11-23 23:54:01 +08:00
Ryan Wang
bac6427259 refactor: use tailwindcss-plugin-icons to build icons 2022-11-11 17:21:02 +08:00
Ryan Wang
98a95757c3 fix: total pages 2022-11-10 14:29:06 +08:00
Ryan Wang
2f50739a52 feat: add dark mode color scheme 2022-11-09 22:00:27 +08:00
Ryan Wang
0aee53cb7d fix: deprecated unwrapped fragment expression 2022-10-28 21:40:05 +08:00
Ryan Wang
028e554b9b feat: add preview theme support 2022-10-24 11:40:53 +08:00
Ryan Wang
bf574b7aeb feat: post sidebar support table of content
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-15 14:02:28 +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
21b77d68a5 perf: improve styles
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-07 21:30:01 +08:00
Ryan Wang
9b508ec07c feat: add support for site header configuration
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-07 21:22:27 +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
23d1ed7d1c feat: add code block highlight support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-10-06 12:46:19 +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