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>
|
<Link to="/friends" className={currentPage === 'friends' ? 'active' : ''}>{t('nav.friends')}</Link>
|
||||||
<ThemeToggle />
|
<ThemeToggle />
|
||||||
<LanguageSelector />
|
<LanguageSelector />
|
||||||
<button className="join-btn">{t('nav.joinNow')}</button>
|
<a href="/api/authenticator/steam/login" className="join-btn">{t('nav.login')}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
"git": "Git",
|
"git": "Git",
|
||||||
"forum": "Forum",
|
"forum": "Forum",
|
||||||
"friends": "Friend",
|
"friends": "Friend",
|
||||||
"joinNow": "Join Now"
|
"joinNow": "Join Now",
|
||||||
|
"login": "Login"
|
||||||
},
|
},
|
||||||
"hero": {
|
"hero": {
|
||||||
"title": "Welcome to the Ultimate",
|
"title": "Welcome to the Ultimate",
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
"git": "开源",
|
"git": "开源",
|
||||||
"forum": "论坛",
|
"forum": "论坛",
|
||||||
"friends": "友链",
|
"friends": "友链",
|
||||||
"joinNow": "立即加入"
|
"joinNow": "立即加入",
|
||||||
|
"login": "登录"
|
||||||
},
|
},
|
||||||
"hero": {
|
"hero": {
|
||||||
"title": "欢迎来到终极",
|
"title": "欢迎来到终极",
|
||||||
|
|||||||
Reference in New Issue
Block a user