Update navigation links and translations for improved accessibility and consistency

This commit is contained in:
2025-10-03 15:21:58 +08:00
parent 8054b48c07
commit 0149a79bef
3 changed files with 9 additions and 5 deletions

View File

@@ -33,8 +33,9 @@ function App() {
<div className="nav-links">
<a href="#servers">{t('nav.servers')}</a>
<a href="#blog">{t('nav.blog')}</a>
<a href="#git">{t('nav.git')}</a>
<a href="https://git.cialloo.com">{t('nav.git')}</a>
<a href="#forum">{t('nav.forum')}</a>
<a href="#friends">{t('nav.friends')}</a>
<ThemeToggle />
<LanguageSelector />
<button className="join-btn">{t('nav.joinNow')}</button>
@@ -117,7 +118,7 @@ function App() {
<div className="feature-icon">📦</div>
<h3>{t('features.git.title')}</h3>
<p>{t('features.git.description')}</p>
<button className="feature-btn">{t('features.viewGitHub')}</button>
<a href="https://git.cialloo.com" className="feature-btn" style={{display: 'inline-block', textDecoration: 'none'}}>{t('features.viewGitHub')}</a>
</div>
<div className="feature-card" id="forum">
<div className="feature-icon">💬</div>
@@ -176,8 +177,9 @@ function App() {
<h4>{t('footer.quickLinks')}</h4>
<a href="#servers">{t('nav.servers')}</a>
<a href="#blog">{t('nav.blog')}</a>
<a href="https://git.cialloo.com">{t('nav.git')}</a>
<a href="#forum">{t('nav.forum')}</a>
<a href="#git">{t('nav.git')}</a>
<a href="#friends">{t('nav.friends')}</a>
</div>
<div className="footer-section">
<h4>{t('footer.communityLinks')}</h4>

View File

@@ -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": {

View File

@@ -5,6 +5,7 @@
"blog": "博客",
"git": "开源",
"forum": "论坛",
"friends": "友链",
"joinNow": "立即加入"
},
"hero": {
@@ -41,7 +42,7 @@
},
"browseServers": "浏览服务器",
"readBlog": "阅读博客",
"viewGitHub": "查看 GitHub",
"viewGitHub": "查看 Git",
"joinForum": "加入论坛"
},
"activity": {