Skip to content

Commit e480367

Browse files
committed
docs: 友链
1 parent f55349f commit e480367

17 files changed

Lines changed: 109 additions & 10 deletions

File tree

src/_data/friends.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[
2+
{
3+
"siteTitle": "Generals",
4+
"siteDesc": "如果真爱有颜色,那一定是被终焉之红所染尽的颜色",
5+
"siteUrl": "https://generalsio.top/",
6+
"siteIcon": "https://generalsio.top/img/avatar.jpg"
7+
},
8+
{
9+
"siteTitle": "_042的小破站♪",
10+
"siteDesc": "Welcome to _042のTiny Home! ♪♪♪|",
11+
"siteUrl": "https://skdg042.github.io/",
12+
"siteIcon": "https://avatars.githubusercontent.com/u/184650144?v=4"
13+
},
14+
{
15+
"siteTitle": "TWind 的博客",
16+
"siteDesc": "5mm应援团资深团员",
17+
"siteUrl": "http://www.twindworld.top/",
18+
"siteIcon": "https://avatars.githubusercontent.com/u/186908663?v=4"
19+
},
20+
{
21+
"siteTitle": "HasonoCell",
22+
"siteDesc": "Because I can hear you",
23+
"siteUrl": "https://hasonocell.club/",
24+
"siteIcon": "https://hasonocell.club/img/avatar.png"
25+
},
26+
{
27+
"siteTitle": "MeTの主页",
28+
"siteDesc": "Stay Hungry. Stay Foolish. 求知若渴,大智若愚。",
29+
"siteUrl": "https://met6.top/",
30+
"siteIcon": "https://met6.top/res/logo.png"
31+
},
32+
{
33+
"siteTitle": "MaoMeng's secret home",
34+
"siteDesc": "我喜欢你",
35+
"siteUrl": "https://maomengblog.vercel.app/",
36+
"siteIcon": "https://maomengblog.vercel.app/_astro/avatar.DCxqmrMX_ZDbOQJ.webp"
37+
}
38+
]

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export const navBarConfig: NavBarConfig = {
4444
LinkPreset.Home,
4545
LinkPreset.Archive,
4646
LinkPreset.About,
47+
LinkPreset.Friends,
4748
{
4849
name: "GitHub",
4950
url: "https://github.com/Rinai-R", // Internal links should not include the base path, as it is automatically added

src/constants/link-presets.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ export const LinkPresets: { [key in LinkPreset]: NavBarLink } = {
1515
name: i18n(I18nKey.archive),
1616
url: "/archive/",
1717
},
18+
[LinkPreset.Friends]: {
19+
name: i18n(I18nKey.friends),
20+
url: "/friends/",
21+
},
1822
};

src/content/spec/friends.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Friends
2+
3+
这里是我的友情链接~

src/i18n/i18nKey.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ enum I18nKey {
3232
author = "author",
3333
publishedAt = "publishedAt",
3434
license = "license",
35+
friends = 'friends',
3536
}
3637

3738
export default I18nKey;

src/i18n/languages/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const en: Translation = {
2323
[Key.minutesCount]: "minutes",
2424
[Key.postCount]: "post",
2525
[Key.postsCount]: "posts",
26-
26+
[Key.friends]: 'Friends',
2727
[Key.themeColor]: "Theme Color",
2828

2929
[Key.lightMode]: "Light",

src/i18n/languages/es.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const es: Translation = {
2323
[Key.minutesCount]: "minutos",
2424
[Key.postCount]: "publicación",
2525
[Key.postsCount]: "publicaciones",
26-
26+
[Key.friends]: "Amigos",
2727
[Key.themeColor]: "Color del tema",
2828

2929
[Key.lightMode]: "Claro",

src/i18n/languages/id.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const id: Translation = {
2323
[Key.minutesCount]: "menit",
2424
[Key.postCount]: "postingan",
2525
[Key.postsCount]: "postingan",
26-
26+
[Key.friends]: "Tautan Ramah",
2727
[Key.themeColor]: "Warna Tema",
2828

2929
[Key.lightMode]: "Terang",

src/i18n/languages/ja.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const ja: Translation = {
2323
[Key.minutesCount]: "分",
2424
[Key.postCount]: "件の投稿",
2525
[Key.postsCount]: "件の投稿",
26-
26+
[Key.friends]: "友達",
2727
[Key.themeColor]: "テーマカラー",
2828

2929
[Key.lightMode]: "ライト",

src/i18n/languages/ko.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const ko: Translation = {
2323
[Key.minutesCount]: "분",
2424
[Key.postCount]: "게시물",
2525
[Key.postsCount]: "게시물",
26-
26+
[Key.friends]: "친구",
2727
[Key.themeColor]: "테마 색상",
2828

2929
[Key.lightMode]: "밝은 모드",

0 commit comments

Comments
 (0)