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
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 25s
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"git": "Git",
|
||||
"forum": "Forum",
|
||||
"friends": "Friend",
|
||||
"joinNow": "Join Now"
|
||||
"joinNow": "Join Now",
|
||||
"login": "Login"
|
||||
},
|
||||
"hero": {
|
||||
"title": "Welcome to the Ultimate",
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
"git": "开源",
|
||||
"forum": "论坛",
|
||||
"friends": "友链",
|
||||
"joinNow": "立即加入"
|
||||
"joinNow": "立即加入",
|
||||
"login": "登录"
|
||||
},
|
||||
"hero": {
|
||||
"title": "欢迎来到终极",
|
||||
|
||||
Reference in New Issue
Block a user