docs: update privacy policy and terms of service with bilingual content
This commit is contained in:
parent
823bcc5f68
commit
434aa28563
@ -4,7 +4,7 @@ enableGlobalCache: false
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
# npmRegistryServer: "https://registry.npmmirror.com"
|
||||
npmRegistryServer: "https://registry.npmmirror.com"
|
||||
|
||||
packageExtensions:
|
||||
"next-contentlayer@*":
|
||||
|
||||
@ -19,27 +19,96 @@ export default function PrivacyPage() {
|
||||
{isChinese ? "隐私政策" : "Privacy Policy"}
|
||||
</h1>
|
||||
|
||||
<div className="prose dark:prose-invert max-w-none space-y-6 text-text-muted">
|
||||
{/* Simple placeholder Privacy Policy */}
|
||||
<div className="prose dark:prose-invert max-w-none space-y-10 text-text-muted">
|
||||
{isChinese ? (
|
||||
<>
|
||||
<p>最后更新:2026年2月1日</p>
|
||||
<h3>1. 信息收集</h3>
|
||||
<p>我们会收集您在注册或使用服务时提供的部分信息,例如邮箱地址。</p>
|
||||
<h3>2. 信息使用</h3>
|
||||
<p>我们收集的信息主要用于提供和改进服务,以及与您进行沟通。</p>
|
||||
<h3>3. 数据安全</h3>
|
||||
<p>我们采取合理的措施来保护您的个人信息安全。</p>
|
||||
<p className="text-sm">最后更新日期:2026年2月1日</p>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">1. 我们收集的信息 / Information We Collect</h2>
|
||||
<p className="mb-4">我们仅收集为您提供服务所必需的信息:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>账户信息:</strong> 您的邮箱地址、头像及第三方登录提供的基本公开信息(如通过 Google 登录)。</li>
|
||||
<li><strong>支付信息:</strong> 我们的支付由第三方处理商(如 Stripe)处理。我们不会直接存储您的完整信用卡号或安全码。</li>
|
||||
<li><strong>使用数据:</strong> 包括 IP 地址、浏览器类型、设备信息以及您在平台上的操作日志。</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">2. 信息如何使用 / How We Use Information</h2>
|
||||
<p className="mb-4">收集的信息用于:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li>创建与管理您的账户。</li>
|
||||
<li>处理订单、订阅及支付。</li>
|
||||
<li>通过可观测性工具优化系统性能及修复 Bug。</li>
|
||||
<li>发送重要的服务更新和通知。</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">3. 数据共享与安全 / Data Sharing & Security</h2>
|
||||
<p className="mb-4">我们不会向第三方出售您的个人信息。我们仅在以下情况共享数据:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>服务供应商:</strong> 如云基础设施提供商(Google Cloud)、支付网关(Stripe)和分析工具。</li>
|
||||
<li><strong>法律要求:</strong> 在法律强制要求或保护我们权利的情况下。 我们采用行业标准的加密技术(如 SSL/TLS)来保护您的数据。</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">4. 您的权利与联系方式 / Your Rights & Contact</h2>
|
||||
<p>您有权随时查看、修改或请求删除您的个人数据。如果您有任何疑问,请通过以下方式联系我们:</p>
|
||||
<p className="mt-2 text-primary">邮箱:<a href="mailto:support@svc.plus" className="hover:underline">support@svc.plus</a></p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">5. 政策更新 / Policy Updates</h2>
|
||||
<p>我们可能会不时更新本政策。更新后,我们将在网站显著位置发布通知。</p>
|
||||
</section>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<p>Last Updated: February 1, 2026</p>
|
||||
<h3>1. Information Collection</h3>
|
||||
<p>We collect certain information you provide when you register or use our services, such as your email address.</p>
|
||||
<h3>2. Information Use</h3>
|
||||
<p>The information we collect is primarily used to provide and improve our services and to communicate with you.</p>
|
||||
<h3>3. Data Security</h3>
|
||||
<p>We take reasonable measures to protect the security of your personal information.</p>
|
||||
<p className="text-sm">Last Updated: February 1, 2026</p>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">1. Information We Collect</h2>
|
||||
<p className="mb-4">We only collect information necessary to provide you with our services:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>Account Information:</strong> Your email address, profile picture, and basic public info provided by third-party logins (e.g., Google OAuth).</li>
|
||||
<li><strong>Payment Information:</strong> Payments are processed by third-party providers (e.g., Stripe). We do not directly store your full credit card numbers or security codes.</li>
|
||||
<li><strong>Usage Data:</strong> Includes IP addresses, browser types, device information, and logs of your activities on the platform.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">2. How We Use Information</h2>
|
||||
<p className="mb-4">The information collected is used to:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li>Create and manage your account.</li>
|
||||
<li>Process orders, subscriptions, and payments.</li>
|
||||
<li>Optimize system performance and fix bugs via observability tools.</li>
|
||||
<li>Send important service updates and notifications.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">3. Data Sharing & Security</h2>
|
||||
<p className="mb-4">We do not sell your personal information to third parties. Data is shared only with:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>Service Providers:</strong> Such as cloud infrastructure (Google Cloud), payment gateways (Stripe), and analytical tools.</li>
|
||||
<li><strong>Legal Requirements:</strong> When required by law or to protect our legal rights. We use industry-standard encryption (e.g., SSL/TLS) to secure your data.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">4. Your Rights & Contact</h2>
|
||||
<p>You have the right to access, modify, or request the deletion of your personal data at any time. For questions, please contact us at:</p>
|
||||
<p className="mt-2 text-primary">Email: <a href="mailto:support@svc.plus" className="hover:underline">support@svc.plus</a></p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="text-xl font-bold text-text mb-4">5. Policy Updates</h2>
|
||||
<p>We may update this policy from time to time. We will notify you of any changes by posting the new policy on this page.</p>
|
||||
</section>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@ -28,133 +28,103 @@ export default function TermsPage() {
|
||||
{isChinese ? (
|
||||
<>
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">1. 介绍</h3>
|
||||
<p>欢迎使用 console.svc.plus(以下简称“本服务”或“我们”)。本服务旨在为开发者提供云中立(Cloud-Neutral)的架构构建、部署及托管工具。通过访问我们的网站、注册账户或使用我们的服务,即表示您已阅读、理解并同意受本条款的约束。</p>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">1. 服务协议的接受 / Acceptance of Terms</h3>
|
||||
<p>访问或使用 svc.plus 提供的服务(下称“服务”),即表示您同意接受本条款的约束。如果您代表某个实体使用服务,则您声明具有代表该实体接受本条款的合法权限。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">2. 账户注册与安全</h3>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">2. 账户与安全 / Accounts & Security</h3>
|
||||
<p>您必须确保账户信息的准确性,并对账户下的所有活动负责。您不得将账户泄露或转让给第三方。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">3. 订阅、支付与退款 / Subscription, Payment & Refunds</h3>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>资格:</strong> 您必须年满 18 岁方可注册使用本服务。</li>
|
||||
<li><strong>账户安全:</strong> 您有责任维护账户凭证(用户名和密码)的机密性。对于因凭证丢失或被盗而导致的任何活动,您需自行承担责任。</li>
|
||||
<li><strong>真实信息:</strong> 您同意在注册时提供真实、准确、最新的信息。对于专业版(Pro)用户,我们可能通过 Stripe Identity 进行实名认证,提供虚假身份信息可能导致账户立即终止。</li>
|
||||
<li><strong>费用:</strong> 部分服务需付费订阅。所有价格以页面显示为准。</li>
|
||||
<li><strong>支付:</strong> 我们通过 Stripe 处理支付。订阅通常会自动续订,除非您在账单周期结束前取消。</li>
|
||||
<li><strong>退款:</strong> 除法律要求外,已收取的费用通常不予退还。</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">3. 订阅、计费与退款</h3>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">4. 使用规范与限制 / Acceptable Use</h3>
|
||||
<p className="mb-2">您不得利用本服务进行以下行为:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>订阅服务:</strong> 本服务提供免费版及付费订阅版(包括但不限于 $1.9/月的基础版及 $19.9/月的专业版及定制版)。</li>
|
||||
<li><strong>支付处理:</strong> 所有支付均通过第三方支付处理商 Stripe 安全进行。</li>
|
||||
<li><strong>自动续费:</strong> 除非您在当前计费周期结束前取消订阅,否则您的订阅将自动续费。</li>
|
||||
<li><strong>退款政策:</strong> 除非法律另有规定,已支付的订阅费用通常不予退还。您可以随时取消订阅,服务将在当前计费周期结束时停止。</li>
|
||||
<li>违反任何适用的法律法规。</li>
|
||||
<li>干扰或破坏服务、服务器或网络的完整性。</li>
|
||||
<li>逆向工程、反编译或试图获取服务的源代码。</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">4. 用户内容与知识产权</h3>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>您的代码:</strong> 您保留您在 console.svc.plus 上托管的代码、文件和项目(统称“用户内容”)的所有权。我们不会主张您代码的知识产权。</li>
|
||||
<li><strong>许可:</strong> 您授予我们有限的、非独占的许可,以便我们在提供服务所需的范围内(如存储、备份、运行构建任务)使用、托管和复制您的内容。</li>
|
||||
<li><strong>平台权利:</strong> console.svc.plus 的所有权、商标、界面设计及底层技术归我们所有。</li>
|
||||
</ul>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">5. 第三方云服务免责 / Third-Party Cloud Providers</h3>
|
||||
<p>本服务作为云原生工具,依赖于 Google Cloud、AWS 等第三方服务商。对于因第三方服务商导致的宕机、数据丢失或服务中断,svc.plus 不承担赔偿责任。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">5. 可接受使用政策 (AUP)</h3>
|
||||
<p className="mb-2">为维护服务质量,特别是保障独享节点和共享资源的稳定性,严禁进行以下活动:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>禁止挖矿:</strong> 严禁利用我们的计算资源进行加密货币挖掘(Crypto Mining)。</li>
|
||||
<li><strong>禁止非法内容:</strong> 严禁托管恶意软件、钓鱼网站、侵权内容或任何违反适用法律的内容。</li>
|
||||
<li><strong>禁止滥用:</strong> 严禁对平台进行压力测试、DDoS 攻击或试图绕过身份验证机制。</li>
|
||||
<li><strong>违规处理:</strong> 违反上述规定将导致服务立即暂停或终止,且不予退款。</li>
|
||||
</ul>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">6. 免责声明与责任限制 / Limitation of Liability</h3>
|
||||
<p>服务按“现状”提供,不提供任何形式的担保。在法律允许的最大范围内,svc.plus 对任何间接、附带或特殊损害(包括利润损失、数据丢失)不承担责任。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">6. 免责声明</h3>
|
||||
<p>本服务按“原样”和“可用”状态提供。除企业定制版(Enterprise)中明确约定的 SLA(服务等级协议)外,我们不保证服务不会中断或没有错误。您应自行负责定期备份您的数据和代码。</p>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">7. 条款变更 / Changes to Terms</h3>
|
||||
<p>我们保留随时修改本条款的权利。重大变更将通过邮件或网站公告通知。继续使用服务即视为接受修订后的条款。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">7. 责任限制</h3>
|
||||
<p>在法律允许的最大范围内,console.svc.plus 不对因使用或无法使用本服务而导致的任何直接、间接、附带或后果性损害(包括数据丢失或利润损失)承担责任。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">8. 适用法律</h3>
|
||||
<p>本条款受 香港特别行政区 法律管辖。因本条款引起的任何争议,双方同意提交至香港法院具有专属管辖权。</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">9. 条款修改</h3>
|
||||
<p>我们保留随时修改这些条款的权利。重大变更将通过电子邮件或网站公告通知您。继续使用服务即视为您接受修改后的条款。</p>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">8. 联系我们 / Contact Us</h3>
|
||||
<p>如有任何疑问,请联系:<a href="mailto:support@svc.plus" className="text-primary hover:underline">support@svc.plus</a></p>
|
||||
</section>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">1. Introduction</h3>
|
||||
<p>Welcome to console.svc.plus ("the Service" or "we"). The Service is designed to provide developers with Cloud-Neutral architecture building, deployment, and hosting tools. By accessing our website, registering an account, or using our services, you confirm that you have read, understood, and agree to be bound by these terms.</p>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">1. Acceptance of Terms</h3>
|
||||
<p>By accessing or using the services provided by svc.plus (the "Service"), you agree to be bound by these terms. If you are using the Service on behalf of an entity, you represent that you have the legal authority to bind that entity to these terms.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">2. Account Registration and Security</h3>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">2. Accounts & Security</h3>
|
||||
<p>You must ensure the accuracy of your account information and are responsible for all activities under your account. You shall not disclose or transfer your account to any third party.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">3. Subscription, Payment & Refunds</h3>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>Eligibility:</strong> You must be at least 18 years old to register for the Service.</li>
|
||||
<li><strong>Account Security:</strong> You are responsible for maintaining the confidentiality of your account credentials (username and password). You act separately for any activity resulting from lost or stolen credentials.</li>
|
||||
<li><strong>Real Information:</strong> You agree to provide true, accurate, and current information upon registration. For Pro users, we may verify identity via Stripe Identity; providing false identity information may result in immediate account termination.</li>
|
||||
<li><strong>Fees:</strong> Certain parts of the Service are billed on a subscription basis. All prices are as displayed on the platform.</li>
|
||||
<li><strong>Payment:</strong> We process payments via Stripe. Subscriptions typically renew automatically unless canceled before the end of the billing cycle.</li>
|
||||
<li><strong>Refunds:</strong> Except as required by law, paid fees are generally non-refundable.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">3. Subscription, Billing, and Refunds</h3>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">4. Acceptable Use</h3>
|
||||
<p className="mb-2">You may not use the Service to:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>Subscription Service:</strong> The Service offers a free version and paid subscription versions (including but not limited to the Basic plan at $1.9/month and the Pro plan at $19.9/month).</li>
|
||||
<li><strong>Payment Processing:</strong> All payments are securely processed through third-party payment processor Stripe.</li>
|
||||
<li><strong>Auto-Renewal:</strong> Unless you cancel your subscription before the end of the current billing cycle, your subscription will automatically renew.</li>
|
||||
<li><strong>Refund Policy:</strong> Unless otherwise required by law, paid subscription fees are generally non-refundable. You may cancel your subscription at any time, and the service will stop at the end of the current billing cycle.</li>
|
||||
<li>Violate any applicable laws or regulations.</li>
|
||||
<li>Interfere with or disrupt the integrity of the Service, servers, or networks.</li>
|
||||
<li>Reverse engineer, decompile, or attempt to derive the source code of the Service.</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">4. User Content and Intellectual Property</h3>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>Your Code:</strong> You retain ownership of the code, files, and projects you host on console.svc.plus ("User Content"). We claim no intellectual property rights over your code.</li>
|
||||
<li><strong>License:</strong> You grant us a limited, non-exclusive license to use, host, and reproduce your content to the extent necessary to provide the Service (e.g., storage, backup, running build tasks).</li>
|
||||
<li><strong>Platform Rights:</strong> We own the trademarks, interface design, and underlying technology of console.svc.plus.</li>
|
||||
</ul>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">5. Third-Party Cloud Providers</h3>
|
||||
<p>As a cloud-native toolkit, the Service relies on third-party providers (e.g., Google Cloud, AWS). svc.plus is not liable for any downtime, data loss, or service interruption caused by these third-party providers.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">5. Acceptable Use Policy (AUP)</h3>
|
||||
<p className="mb-2">In order to maintain service quality, specifically the stability of dedicated and shared nodes, the following activities are strictly prohibited:</p>
|
||||
<ul className="list-disc pl-5 space-y-2">
|
||||
<li><strong>No Mining:</strong> Crypto Mining using our computing resources is strictly prohibited.</li>
|
||||
<li><strong>No Illegal Content:</strong> Hosting malware, phishing sites, infringing content, or any content violating applicable laws is strictly prohibited.</li>
|
||||
<li><strong>No Abuse:</strong> Stress testing the platform, DDoS attacks, or attempting to bypass authentication mechanisms is strictly prohibited.</li>
|
||||
<li><strong>Violation Handling:</strong> Violation of the above rules will result in immediate suspension or termination of service without refund.</li>
|
||||
</ul>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">6. Limitation of Liability</h3>
|
||||
<p>The Service is provided "as is" without warranties of any kind. To the maximum extent permitted by law, svc.plus shall not be liable for any indirect, incidental, or special damages (including loss of profits or data).</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">6. Disclaimer</h3>
|
||||
<p>The Service is provided "as is" and "as available". Except as explicitly agreed in the SLA for the Enterprise version, we do not guarantee that the service will be uninterrupted or error-free. You are solely responsible for regularly backing up your data and code.</p>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">7. Changes to Terms</h3>
|
||||
<p>We reserve the right to modify these terms at any time. Major changes will be notified via email or website announcement. Continued use of the Service constitutes acceptance of the revised terms.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">7. Limitation of Liability</h3>
|
||||
<p>To the maximum extent permitted by law, console.svc.plus shall not be liable for any direct, indirect, incidental, or consequential damages (including loss of data or profits) arising from the use or inability to use the Service.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">8. Governing Law</h3>
|
||||
<p>These Terms shall be governed by the laws of the Hong Kong Special Administrative Region. Any dispute arising from these Terms shall be submitted to the exclusive jurisdiction of the courts of Hong Kong.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">9. Modifications</h3>
|
||||
<p>We reserve the right to modify these terms at any time. Material changes will be notified to you via email or website announcement. Continued use of the service constitutes your acceptance of the modified terms.</p>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">8. Contact Us</h3>
|
||||
<p>For any questions, please contact: <a href="mailto:support@svc.plus" className="text-primary hover:underline">support@svc.plus</a></p>
|
||||
</section>
|
||||
</>
|
||||
)}
|
||||
|
||||
@ -299,11 +299,11 @@ export default function UnifiedNavigation() {
|
||||
sideOffset={8}
|
||||
className="z-50 min-w-[220px] overflow-hidden rounded-[12px] border border-surface-border bg-surface p-1 shadow-shadow-md animate-in fade-in zoom-in-95 duration-[120ms] data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 motion-reduce:animate-none"
|
||||
>
|
||||
<div className="px-4 py-3 border-b border-surface-border/50 mb-1">
|
||||
<div className="px-4 py-3 border-b border-surface-border/50 mb-1 text-right">
|
||||
<p className="text-sm font-semibold text-text leading-none mb-1.5">
|
||||
{user.username}
|
||||
</p>
|
||||
<p className="text-[12px] text-text-muted leading-none">
|
||||
<p className="text-[12px] text-text-muted leading-none break-all">
|
||||
{user.email}
|
||||
</p>
|
||||
</div>
|
||||
@ -317,16 +317,16 @@ export default function UnifiedNavigation() {
|
||||
>
|
||||
<Link
|
||||
href={item.href}
|
||||
className={`flex h-[38px] items-center gap-3 px-3 rounded-lg text-[13px] font-medium transition-all group select-none ${item.key === 'logout'
|
||||
className={`flex h-[38px] flex-row-reverse items-center justify-between gap-3 px-3 rounded-lg text-[13px] font-medium transition-all group select-none ${item.key === 'logout'
|
||||
? "text-rose-500 hover:bg-rose-500/10 hover:text-rose-600 focus:bg-rose-500/10 focus:text-rose-600"
|
||||
: "text-text-muted hover:bg-primary/10 hover:text-primary focus:bg-primary/10 focus:text-primary"
|
||||
}`}
|
||||
onClick={() => setAccountMenuOpen(false)}
|
||||
>
|
||||
{item.icon && (
|
||||
<item.icon className={`w-4 h-4 shrink-0 opacity-70 group-hover:opacity-100 transition-opacity ${item.key === 'logout' ? 'text-rose-500' : 'text-current'}`} />
|
||||
<item.icon className={`w-4 h-4 shrink-0 opacity-60 group-hover:opacity-100 transition-opacity ${item.key === 'logout' ? 'text-rose-500' : 'text-current'}`} />
|
||||
)}
|
||||
<span>
|
||||
<span className="flex-1 text-right">
|
||||
{typeof item.label === "function"
|
||||
? item.label(language)
|
||||
: item.label}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user