Update navigation links and translations for improved accessibility and consistency
This commit is contained in:
@@ -33,8 +33,9 @@ function App() {
|
|||||||
<div className="nav-links">
|
<div className="nav-links">
|
||||||
<a href="#servers">{t('nav.servers')}</a>
|
<a href="#servers">{t('nav.servers')}</a>
|
||||||
<a href="#blog">{t('nav.blog')}</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="#forum">{t('nav.forum')}</a>
|
||||||
|
<a href="#friends">{t('nav.friends')}</a>
|
||||||
<ThemeToggle />
|
<ThemeToggle />
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
<button className="join-btn">{t('nav.joinNow')}</button>
|
<button className="join-btn">{t('nav.joinNow')}</button>
|
||||||
@@ -117,7 +118,7 @@ function App() {
|
|||||||
<div className="feature-icon">📦</div>
|
<div className="feature-icon">📦</div>
|
||||||
<h3>{t('features.git.title')}</h3>
|
<h3>{t('features.git.title')}</h3>
|
||||||
<p>{t('features.git.description')}</p>
|
<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>
|
||||||
<div className="feature-card" id="forum">
|
<div className="feature-card" id="forum">
|
||||||
<div className="feature-icon">💬</div>
|
<div className="feature-icon">💬</div>
|
||||||
@@ -176,8 +177,9 @@ function App() {
|
|||||||
<h4>{t('footer.quickLinks')}</h4>
|
<h4>{t('footer.quickLinks')}</h4>
|
||||||
<a href="#servers">{t('nav.servers')}</a>
|
<a href="#servers">{t('nav.servers')}</a>
|
||||||
<a href="#blog">{t('nav.blog')}</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="#forum">{t('nav.forum')}</a>
|
||||||
<a href="#git">{t('nav.git')}</a>
|
<a href="#friends">{t('nav.friends')}</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="footer-section">
|
<div className="footer-section">
|
||||||
<h4>{t('footer.communityLinks')}</h4>
|
<h4>{t('footer.communityLinks')}</h4>
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"blog": "Blog",
|
"blog": "Blog",
|
||||||
"git": "Git",
|
"git": "Git",
|
||||||
"forum": "Forum",
|
"forum": "Forum",
|
||||||
|
"friends": "Friend",
|
||||||
"joinNow": "Join Now"
|
"joinNow": "Join Now"
|
||||||
},
|
},
|
||||||
"hero": {
|
"hero": {
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"browseServers": "Browse Servers",
|
"browseServers": "Browse Servers",
|
||||||
"readBlog": "Read Blog",
|
"readBlog": "Read Blog",
|
||||||
"viewGitHub": "View GitHub",
|
"viewGitHub": "View Git",
|
||||||
"joinForum": "Join Forum"
|
"joinForum": "Join Forum"
|
||||||
},
|
},
|
||||||
"activity": {
|
"activity": {
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"blog": "博客",
|
"blog": "博客",
|
||||||
"git": "开源",
|
"git": "开源",
|
||||||
"forum": "论坛",
|
"forum": "论坛",
|
||||||
|
"friends": "友链",
|
||||||
"joinNow": "立即加入"
|
"joinNow": "立即加入"
|
||||||
},
|
},
|
||||||
"hero": {
|
"hero": {
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"browseServers": "浏览服务器",
|
"browseServers": "浏览服务器",
|
||||||
"readBlog": "阅读博客",
|
"readBlog": "阅读博客",
|
||||||
"viewGitHub": "查看 GitHub",
|
"viewGitHub": "查看 Git",
|
||||||
"joinForum": "加入论坛"
|
"joinForum": "加入论坛"
|
||||||
},
|
},
|
||||||
"activity": {
|
"activity": {
|
||||||
|
|||||||
Reference in New Issue
Block a user