From 0149a79bef26151bb7f94574d1b7de9b7410460e Mon Sep 17 00:00:00 2001 From: cialloo Date: Fri, 3 Oct 2025 15:21:58 +0800 Subject: [PATCH] Update navigation links and translations for improved accessibility and consistency --- src/App.tsx | 8 +++++--- src/locales/en.json | 3 ++- src/locales/zh.json | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 13695a4..bf94143 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -33,8 +33,9 @@ function App() {
{t('nav.servers')} {t('nav.blog')} - {t('nav.git')} + {t('nav.git')} {t('nav.forum')} + {t('nav.friends')} @@ -117,7 +118,7 @@ function App() {
📦

{t('features.git.title')}

{t('features.git.description')}

- + {t('features.viewGitHub')}
💬
@@ -176,8 +177,9 @@ function App() {

{t('footer.quickLinks')}

{t('nav.servers')} {t('nav.blog')} + {t('nav.git')} {t('nav.forum')} - {t('nav.git')} + {t('nav.friends')}

{t('footer.communityLinks')}

diff --git a/src/locales/en.json b/src/locales/en.json index d9bdfc3..b85dec1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -5,6 +5,7 @@ "blog": "Blog", "git": "Git", "forum": "Forum", + "friends": "Friend", "joinNow": "Join Now" }, "hero": { @@ -41,7 +42,7 @@ }, "browseServers": "Browse Servers", "readBlog": "Read Blog", - "viewGitHub": "View GitHub", + "viewGitHub": "View Git", "joinForum": "Join Forum" }, "activity": { diff --git a/src/locales/zh.json b/src/locales/zh.json index e0969ce..343f26a 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -5,6 +5,7 @@ "blog": "博客", "git": "开源", "forum": "论坛", + "friends": "友链", "joinNow": "立即加入" }, "hero": { @@ -41,7 +42,7 @@ }, "browseServers": "浏览服务器", "readBlog": "阅读博客", - "viewGitHub": "查看 GitHub", + "viewGitHub": "查看 Git", "joinForum": "加入论坛" }, "activity": {