diff --git a/ui/homepage/components/Terms.tsx b/ui/homepage/components/Terms.tsx
new file mode 100644
index 0000000..4ae602a
--- /dev/null
+++ b/ui/homepage/components/Terms.tsx
@@ -0,0 +1,23 @@
+'use client'
+import { useLanguage } from '../i18n/LanguageProvider'
+import { translations } from '../i18n/translations'
+
+export default function Terms() {
+ const { language } = useLanguage()
+ const t = translations[language]
+
+ return (
+
+
+
{t.termsTitle}
+
+ {t.termsPoints.map((p, idx) => (
+ -
+ {p}
+
+ ))}
+
+
+
+ )
+}
diff --git a/ui/homepage/i18n/translations.ts b/ui/homepage/i18n/translations.ts
index 006151a..e7f3099 100644
--- a/ui/homepage/i18n/translations.ts
+++ b/ui/homepage/i18n/translations.ts
@@ -11,6 +11,15 @@ export type Translation = {
downloadTitle: string
downloadSubtitle: string
footerLinks: [string, string, string]
+ nav: {
+ features: string
+ openSource: string
+ download: string
+ contact: string
+ }
+ termsTitle: string
+ termsPoints: string[]
+ contactTitle: string
}
export const translations: Record<'en' | 'zh', Translation> = {
@@ -27,6 +36,20 @@ export const translations: Record<'en' | 'zh', Translation> = {
downloadTitle: 'Download',
downloadSubtitle: 'Select your platform',
footerLinks: ['Privacy Policy', 'Terms of Service', 'Contact Us'],
+ nav: {
+ features: 'Features',
+ openSource: 'Open Source',
+ download: 'Download',
+ contact: 'Contact',
+ },
+ termsTitle: 'Terms of Service',
+ termsPoints: [
+ 'A free, open-source version for self-hosting on Windows, Linux, and macOS',
+ 'Affordable 1-on-1 consulting for technical setup',
+ 'A premium plan with cloud sync, mobile support, and device linking',
+ 'A future SaaS version for users who want one-click deployment with no setup required',
+ ],
+ contactTitle: 'Contact Us',
},
zh: {
hero: {
@@ -41,5 +64,19 @@ export const translations: Record<'en' | 'zh', Translation> = {
downloadTitle: '下载',
downloadSubtitle: '选择适合的平台',
footerLinks: ['隐私政策', '服务条款', '联系我们'],
+ nav: {
+ features: '功能特性',
+ openSource: '开源项目',
+ download: '下载',
+ contact: '联系我们',
+ },
+ termsTitle: '服务条款',
+ termsPoints: [
+ '提供在 Windows、Linux 和 macOS 上可自托管的免费开源版本',
+ '提供经济实惠的 1 对 1 技术部署咨询服务',
+ '提供带云同步、移动端支持和设备绑定的高级版计划',
+ '未来将推出无需设置、一键部署的 SaaS 版本',
+ ],
+ contactTitle: '联系我们',
},
}
diff --git a/ui/panel/yarn.lock b/ui/panel/yarn.lock
index 4b52d63..e90ba88 100644
--- a/ui/panel/yarn.lock
+++ b/ui/panel/yarn.lock
@@ -522,10 +522,10 @@ lru-cache@^10.2.0:
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119"
integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==
-lucide-react@^0.517.0:
- version "0.517.0"
- resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.517.0.tgz#195ed8bd18e72462b012ba4e36d4474e480ff44c"
- integrity sha512-TQCwwbwIuVG6SSutUC2Ol6PRXcuZndqoVAnDa7S7xb/RWPaiKTvLwX7byUKeh0pUgvtFh0NZZwFIDuMSeB7Iwg==
+lucide-react@^0.292.0:
+ version "0.292.0"
+ resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.292.0.tgz#c8a06b2ccd8a348a88669def3c0291c035de2884"
+ integrity sha512-rRgUkpEHWpa5VCT66YscInCQmQuPCB1RFRzkkxMxg4b+jaL0V12E3riWWR2Sh5OIiUhCwGW/ZExuEO4Az32E6Q==
merge2@^1.3.0:
version "1.4.1"