diff --git a/ui/homepage/components/Navbar.tsx b/ui/homepage/components/Navbar.tsx index dfd4767..c9a529e 100644 --- a/ui/homepage/components/Navbar.tsx +++ b/ui/homepage/components/Navbar.tsx @@ -30,9 +30,14 @@ export default function Navbar() { label: nav.openSource.title, children: [ { - key: 'featuresCode', - label: `${nav.openSource.features} & ${nav.openSource.code}`, - href: 'https://github.com/XProxyTeam/XControl', + key: 'features', + label: nav.openSource.features, + href: '#features', + }, + { + key: 'projects', + label: nav.openSource.projects, + href: '#open-sources', }, { key: 'download', @@ -113,8 +118,6 @@ export default function Navbar() { { setMenuOpen(false) setActiveMenu(item.key) diff --git a/ui/homepage/i18n/translations.ts b/ui/homepage/i18n/translations.ts index 9fc125c..c8bd0a2 100644 --- a/ui/homepage/i18n/translations.ts +++ b/ui/homepage/i18n/translations.ts @@ -15,7 +15,7 @@ export type Translation = { openSource: { title: string features: string - code: string + projects: string download: string } services: { @@ -53,7 +53,7 @@ export const translations: Record<'en' | 'zh', Translation> = { openSource: { title: 'Open Source', features: 'Features', - code: 'Code', + projects: 'Projects', download: 'Download', }, services: { @@ -94,7 +94,7 @@ export const translations: Record<'en' | 'zh', Translation> = { openSource: { title: '开源项目', features: '功能特性', - code: '代码', + projects: '开源项目', download: '下载', }, services: {