diff --git a/src/constants/link-presets.ts b/src/constants/link-presets.ts index 662ab3c..99fca38 100644 --- a/src/constants/link-presets.ts +++ b/src/constants/link-presets.ts @@ -22,4 +22,8 @@ export const LinkPresets: { [key in LinkPreset]: NavBarLink } = { url: '/series/', }, + [LinkPreset.Friends]: { + name: i18n(I18nKey.friends), + url: '/friends/', + }, }; diff --git a/src/i18n/i18nKey.ts b/src/i18n/i18nKey.ts index 669de70..08fb471 100644 --- a/src/i18n/i18nKey.ts +++ b/src/i18n/i18nKey.ts @@ -33,6 +33,7 @@ enum I18nKey { publishedAt = "publishedAt", license = "license", series = 'series', + friends = 'friends', } export default I18nKey; diff --git a/src/i18n/languages/en.ts b/src/i18n/languages/en.ts index 3f10b8e..5a56bb8 100644 --- a/src/i18n/languages/en.ts +++ b/src/i18n/languages/en.ts @@ -36,4 +36,5 @@ export const en: Translation = { [Key.publishedAt]: "Published at", [Key.license]: "License", [Key.series]: 'Series', + [Key.friends]: 'Friendly link', }; diff --git a/src/i18n/languages/es.ts b/src/i18n/languages/es.ts index 3a7128e..a12f030 100644 --- a/src/i18n/languages/es.ts +++ b/src/i18n/languages/es.ts @@ -36,4 +36,5 @@ export const es: Translation = { [Key.publishedAt]: "Publicado el", [Key.license]: "Licencia", [Key.series]: 'Serie', + [Key.friends]: 'Enlace amigable', }; diff --git a/src/i18n/languages/id.ts b/src/i18n/languages/id.ts index 9143ed5..4407a89 100644 --- a/src/i18n/languages/id.ts +++ b/src/i18n/languages/id.ts @@ -35,4 +35,5 @@ export const id: Translation = { [Key.author]: "Penulis", [Key.publishedAt]: "Diterbitkan pada", [Key.license]: "Lisensi", + [Key.friends]: 'Teman', }; diff --git a/src/i18n/languages/ja.ts b/src/i18n/languages/ja.ts index 3e7a929..ccc577b 100644 --- a/src/i18n/languages/ja.ts +++ b/src/i18n/languages/ja.ts @@ -36,4 +36,5 @@ export const ja: Translation = { [Key.publishedAt]: "公開日", [Key.license]: "ライセンス", [Key.series]: 'シリーズ', + [Key.friends]: 'フレンドリンク', }; diff --git a/src/i18n/languages/ko.ts b/src/i18n/languages/ko.ts index 6778c69..31e678d 100644 --- a/src/i18n/languages/ko.ts +++ b/src/i18n/languages/ko.ts @@ -36,4 +36,5 @@ export const ko: Translation = { [Key.publishedAt]: "게시일", [Key.license]: "라이선스", [Key.series]: '시리즈', + [Key.friends]: '친구 링크', }; diff --git a/src/i18n/languages/th.ts b/src/i18n/languages/th.ts index 62bb016..bda728a 100644 --- a/src/i18n/languages/th.ts +++ b/src/i18n/languages/th.ts @@ -36,4 +36,5 @@ export const th: Translation = { [Key.publishedAt]: "เผยแพร่เมื่อ", [Key.license]: "สัญญาอนุญาต", [Key.series]: 'ชุด', + [Key.friends]: 'เพื่อนร่วมลิงก์' }; diff --git a/src/i18n/languages/zh_CN.ts b/src/i18n/languages/zh_CN.ts index b10ad4f..5b8b162 100644 --- a/src/i18n/languages/zh_CN.ts +++ b/src/i18n/languages/zh_CN.ts @@ -36,4 +36,5 @@ export const zh_CN: Translation = { [Key.publishedAt]: "发布于", [Key.license]: "许可协议", [Key.series]: '系列', + [Key.friends]: '友链', }; diff --git a/src/i18n/languages/zh_TW.ts b/src/i18n/languages/zh_TW.ts index 52d76bf..b8f11ac 100644 --- a/src/i18n/languages/zh_TW.ts +++ b/src/i18n/languages/zh_TW.ts @@ -36,4 +36,5 @@ export const zh_TW: Translation = { [Key.publishedAt]: "發佈於", [Key.license]: "許可協議", [Key.series]: '系列', + [Key.friends]: '友鏈', }; diff --git a/src/pages/friends.astro b/src/pages/friends.astro index 3539d1e..23059e8 100644 --- a/src/pages/friends.astro +++ b/src/pages/friends.astro @@ -12,27 +12,6 @@ import { Icon } from "astro-icon/components";
-