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>