mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
refactor: separate user agreement and privacy policy links (#777)
This commit is contained in:
@@ -210,6 +210,21 @@ const ServiceAuth = memo(
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
{/* EULA Link */}
|
||||||
|
<button
|
||||||
|
className="text-xs text-[#0096FB] dark:text-blue-400 block"
|
||||||
|
onClick={() =>
|
||||||
|
OpenURLWithBrowser(currentService?.provider?.eula)
|
||||||
|
}
|
||||||
|
>
|
||||||
|
{t("cloud.eula")}
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<span className="text-xs text-[#0096FB] dark:text-blue-400 block">
|
||||||
|
|
|
||||||
|
</span>
|
||||||
|
|
||||||
{/* Privacy Policy Link */}
|
{/* Privacy Policy Link */}
|
||||||
<button
|
<button
|
||||||
className="text-xs text-[#0096FB] dark:text-blue-400 block"
|
className="text-xs text-[#0096FB] dark:text-blue-400 block"
|
||||||
@@ -220,6 +235,7 @@ const ServiceAuth = memo(
|
|||||||
{t("cloud.privacyPolicy")}
|
{t("cloud.privacyPolicy")}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -459,7 +459,8 @@
|
|||||||
"login": "Login",
|
"login": "Login",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"copyUrl": "Copy URL",
|
"copyUrl": "Copy URL",
|
||||||
"privacyPolicy": "EULA | Privacy Policy",
|
"eula": "EULA",
|
||||||
|
"privacyPolicy": "Privacy Policy",
|
||||||
"connect": {
|
"connect": {
|
||||||
"back": "Back",
|
"back": "Back",
|
||||||
"title": "Connecting to Your Coco-Server",
|
"title": "Connecting to Your Coco-Server",
|
||||||
|
|||||||
@@ -459,7 +459,8 @@
|
|||||||
"login": "登录",
|
"login": "登录",
|
||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"copyUrl": "复制链接",
|
"copyUrl": "复制链接",
|
||||||
"privacyPolicy": "用户协议 | 隐私政策",
|
"eula": "用户协议",
|
||||||
|
"privacyPolicy": "隐私政策",
|
||||||
"connect": {
|
"connect": {
|
||||||
"back": "返回",
|
"back": "返回",
|
||||||
"title": "连接到您的 Coco-Server",
|
"title": "连接到您的 Coco-Server",
|
||||||
|
|||||||
Reference in New Issue
Block a user