hd-garden 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/blog/page.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Suspense } from "react";
|
|
2
2
|
import { siteConfig, siteDocumentTitle } from "../site.config";
|
|
3
3
|
import { BlogArchive } from "../components/BlogArchive";
|
|
4
|
+
import { PageIntro } from "../components/PageIntro";
|
|
4
5
|
|
|
5
6
|
export const metadata = {
|
|
6
7
|
title: siteDocumentTitle,
|
|
@@ -10,11 +11,11 @@ export const metadata = {
|
|
|
10
11
|
export default function BlogIndex() {
|
|
11
12
|
return (
|
|
12
13
|
<main className="page-shell index-page">
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
<PageIntro
|
|
15
|
+
eyebrow="POSTS / 博文"
|
|
16
|
+
title={siteConfig.pages.blog.title}
|
|
17
|
+
subtitle={siteConfig.pages.blog.subtitle}
|
|
18
|
+
/>
|
|
18
19
|
<Suspense>
|
|
19
20
|
<BlogArchive />
|
|
20
21
|
</Suspense>
|
package/app/columns/page.tsx
CHANGED
|
@@ -7,24 +7,24 @@ const emptyContent = {
|
|
|
7
7
|
posts: {
|
|
8
8
|
icon: Article,
|
|
9
9
|
eyebrow: "NO POSTS YET / 暂无博文",
|
|
10
|
-
title: "
|
|
11
|
-
description: "
|
|
10
|
+
title: "暂无博文。",
|
|
11
|
+
description: "发布文章后会在这里按主题与时间归档。",
|
|
12
12
|
actionHref: "/",
|
|
13
13
|
actionLabel: "返回首页",
|
|
14
14
|
},
|
|
15
15
|
thoughts: {
|
|
16
16
|
icon: Quotes,
|
|
17
17
|
eyebrow: "NO THOUGHTS YET / 暂无随想",
|
|
18
|
-
title: "
|
|
19
|
-
description: "
|
|
18
|
+
title: "暂无随想。",
|
|
19
|
+
description: "日常的碎片记录、短笔记与链接会落在这里。",
|
|
20
20
|
actionHref: "/blog",
|
|
21
21
|
actionLabel: "先读博文",
|
|
22
22
|
},
|
|
23
23
|
columns: {
|
|
24
24
|
icon: Books,
|
|
25
25
|
eyebrow: "NO COLUMNS YET / 暂无专栏",
|
|
26
|
-
title: "
|
|
27
|
-
description: "
|
|
26
|
+
title: "暂无专栏。",
|
|
27
|
+
description: "文章积累成系列后会在这里按顺序呈现。",
|
|
28
28
|
actionHref: "/blog",
|
|
29
29
|
actionLabel: "浏览全部博文",
|
|
30
30
|
},
|
|
@@ -11,38 +11,38 @@ export const siteConfig = {
|
|
|
11
11
|
},
|
|
12
12
|
pages: {
|
|
13
13
|
home: {
|
|
14
|
-
title: "
|
|
15
|
-
subtitle: "
|
|
14
|
+
title: "记一些正在做的事,\n和想清楚的问题。",
|
|
15
|
+
subtitle: "关注软件工程、系统设计与技术实践,也记录偶发的探索和工作笔记。",
|
|
16
16
|
},
|
|
17
17
|
blog: {
|
|
18
|
-
title: "
|
|
19
|
-
subtitle: "
|
|
18
|
+
title: "博文",
|
|
19
|
+
subtitle: "阶段性的完整梳理与技术总结。",
|
|
20
20
|
},
|
|
21
21
|
thoughts: {
|
|
22
|
-
title: "
|
|
23
|
-
subtitle: "
|
|
22
|
+
title: "随想",
|
|
23
|
+
subtitle: "碎片的念头、偶遇的灵感、短笔记与链接。",
|
|
24
24
|
},
|
|
25
25
|
columns: {
|
|
26
|
-
title: "
|
|
27
|
-
subtitle: "
|
|
26
|
+
title: "专栏",
|
|
27
|
+
subtitle: "按顺序组织的专题系列,沿着清晰的脉络连点成线。",
|
|
28
28
|
},
|
|
29
29
|
about: {
|
|
30
30
|
title: "你好,我是 Your Name。",
|
|
31
|
-
subtitle: "
|
|
32
|
-
heading: "
|
|
31
|
+
subtitle: "欢迎来到我的个人网站。",
|
|
32
|
+
heading: "关于我与这里",
|
|
33
33
|
paragraphs: [
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"一名工程师 / 创作者。平时主要关注系统开发、技术探索与软件设计。",
|
|
35
|
+
"这里是我的公开工作台与数字自留地。比起社交网络上的碎片动态,我更倾向于把探索过程沉淀为有据可查的代码、设计与长篇笔记。",
|
|
36
36
|
],
|
|
37
|
-
quote: "
|
|
37
|
+
quote: "",
|
|
38
38
|
focus: [
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
39
|
+
"软件工程与系统架构",
|
|
40
|
+
"原生工具与高质量交互",
|
|
41
|
+
"个人长期知识沉淀",
|
|
42
42
|
],
|
|
43
43
|
cta: {
|
|
44
44
|
href: "/blog",
|
|
45
|
-
label: "
|
|
45
|
+
label: "浏览博文",
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
garden: {
|
|
@@ -50,7 +50,7 @@ export const siteConfig = {
|
|
|
50
50
|
subtitle: "",
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
-
footer: "
|
|
53
|
+
footer: "持续记录与构建。",
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export const githubUrl = `https://github.com/${siteConfig.author.github}`;
|
package/package.json
CHANGED
package/site.config.yaml
CHANGED
|
@@ -14,35 +14,35 @@ author:
|
|
|
14
14
|
pages:
|
|
15
15
|
home:
|
|
16
16
|
title: |-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
subtitle:
|
|
17
|
+
记一些正在做的事,
|
|
18
|
+
和想清楚的问题。
|
|
19
|
+
subtitle: 关注软件工程、系统设计与技术实践,也记录偶发的探索和工作笔记。
|
|
20
20
|
blog:
|
|
21
|
-
title:
|
|
22
|
-
subtitle:
|
|
21
|
+
title: 博文
|
|
22
|
+
subtitle: 阶段性的完整梳理与技术总结。
|
|
23
23
|
thoughts:
|
|
24
|
-
title:
|
|
25
|
-
subtitle:
|
|
24
|
+
title: 随想
|
|
25
|
+
subtitle: 碎片的念头、偶遇的灵感、短笔记与链接。
|
|
26
26
|
columns:
|
|
27
|
-
title:
|
|
28
|
-
subtitle:
|
|
27
|
+
title: 专栏
|
|
28
|
+
subtitle: 按顺序组织的专题系列,沿着清晰的脉络连点成线。
|
|
29
29
|
about:
|
|
30
30
|
title: 你好,我是 Your Name。
|
|
31
|
-
subtitle:
|
|
32
|
-
heading:
|
|
31
|
+
subtitle: 欢迎来到我的个人网站。
|
|
32
|
+
heading: 关于我与这里
|
|
33
33
|
paragraphs:
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
quote:
|
|
34
|
+
- 一名工程师 / 创作者。平时主要关注系统开发、技术探索与软件设计。
|
|
35
|
+
- 这里是我的公开工作台与数字自留地。比起社交网络上的碎片动态,我更倾向于把探索过程沉淀为有据可查的代码、设计与长篇笔记。
|
|
36
|
+
quote: ""
|
|
37
37
|
focus:
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
38
|
+
- 软件工程与系统架构
|
|
39
|
+
- 原生工具与高质量交互
|
|
40
|
+
- 个人长期知识沉淀
|
|
41
41
|
cta:
|
|
42
42
|
href: /blog
|
|
43
|
-
label:
|
|
43
|
+
label: 浏览博文
|
|
44
44
|
garden:
|
|
45
45
|
title: 一个基于 Markdown 的个人博客框架。
|
|
46
46
|
subtitle: ""
|
|
47
47
|
|
|
48
|
-
footer:
|
|
48
|
+
footer: 持续记录与构建。
|
|
@@ -12,35 +12,35 @@ author:
|
|
|
12
12
|
pages:
|
|
13
13
|
home:
|
|
14
14
|
title: |-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
subtitle:
|
|
15
|
+
记一些正在做的事,
|
|
16
|
+
和想清楚的问题。
|
|
17
|
+
subtitle: 关注软件工程、系统设计与技术实践,也记录偶发的探索和工作笔记。
|
|
18
18
|
blog:
|
|
19
|
-
title:
|
|
20
|
-
subtitle:
|
|
19
|
+
title: 博文
|
|
20
|
+
subtitle: 阶段性的完整梳理与技术总结。
|
|
21
21
|
thoughts:
|
|
22
|
-
title:
|
|
23
|
-
subtitle:
|
|
22
|
+
title: 随想
|
|
23
|
+
subtitle: 碎片的念头、偶遇的灵感、短笔记与链接。
|
|
24
24
|
columns:
|
|
25
|
-
title:
|
|
26
|
-
subtitle:
|
|
25
|
+
title: 专栏
|
|
26
|
+
subtitle: 按顺序组织的专题系列,沿着清晰的脉络连点成线。
|
|
27
27
|
about:
|
|
28
28
|
title: 你好,我是 Your Name。
|
|
29
|
-
subtitle:
|
|
30
|
-
heading:
|
|
29
|
+
subtitle: 欢迎来到我的个人网站。
|
|
30
|
+
heading: 关于我与这里
|
|
31
31
|
paragraphs:
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
quote:
|
|
32
|
+
- 一名工程师 / 创作者。平时主要关注系统开发、技术探索与软件设计。
|
|
33
|
+
- 这里是我的公开工作台与数字自留地。比起社交网络上的碎片动态,我更倾向于把探索过程沉淀为有据可查的代码、设计与长篇笔记。
|
|
34
|
+
quote: ""
|
|
35
35
|
focus:
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
36
|
+
- 软件工程与系统架构
|
|
37
|
+
- 原生工具与高质量交互
|
|
38
|
+
- 个人长期知识沉淀
|
|
39
39
|
cta:
|
|
40
40
|
href: /blog
|
|
41
|
-
label:
|
|
41
|
+
label: 浏览博文
|
|
42
42
|
garden:
|
|
43
43
|
title: 一个基于 Markdown 的个人博客框架。
|
|
44
44
|
subtitle: ""
|
|
45
45
|
|
|
46
|
-
footer:
|
|
46
|
+
footer: 持续记录与构建。
|