Update navigation links to replace 'Join Now' button with 'Login' link and add translations for login in English and Chinese
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 25s

This commit is contained in:
2025-10-08 12:10:59 +08:00
parent 4a0f9c1a67
commit eba90288b7
3 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ function Nav({ currentPage }: NavProps) {
<Link to="/friends" className={currentPage === 'friends' ? 'active' : ''}>{t('nav.friends')}</Link>
<ThemeToggle />
<LanguageSelector />
<button className="join-btn">{t('nav.joinNow')}</button>
<a href="/api/authenticator/steam/login" className="join-btn">{t('nav.login')}</a>
</div>
</div>
</nav>

View File

@@ -7,7 +7,8 @@
"git": "Git",
"forum": "Forum",
"friends": "Friend",
"joinNow": "Join Now"
"joinNow": "Join Now",
"login": "Login"
},
"hero": {
"title": "Welcome to the Ultimate",

View File

@@ -6,7 +6,8 @@
"git": "开源",
"forum": "论坛",
"friends": "友链",
"joinNow": "立即加入"
"joinNow": "立即加入",
"login": "登录"
},
"hero": {
"title": "欢迎来到终极",