落地页去本地执行口径 + 设置→关于 增加官网跳转
- 落地页:移除右上角「快速上手」按钮(nav-cta);hero 主 CTA 与底部 CTA 改指 /pricing(30 天免费试用口径),不再引导网站访客跑 run.sh/quickstart - 设置 → 关于:新增「官网」按钮(https://opsxapi.rlwj.cn,links.ts SITE_URL 统一维护); 「官网与价格」从本地 /home 改指公网 opsxapi.rlwj.cn/pricing(打包环境无本地服务时同样可达) - 浏览器实测关于页四个外链按钮标题正确;落地页 nav-cta 零残留
This commit is contained in:
1 parent
cdaba44373
commit
c0617ffdc8
4 files changed
+14
-14
No files matched your search
@@ -13,7 +13,7 @@ import { EnvBadge } from "../EnvBadge";
|
||||
import { Icon, type IconName } from "../icons";
|
||||
import { KindIcon } from "../KindIcon";
|
||||
import { Logo } from "../Logo";
|
||||
import { WECHAT_GROUP_URL } from "../../links";
|
||||
import { SITE_URL, WECHAT_GROUP_URL } from "../../links";
|
||||
import { useLicense } from "../../license";
|
||||
import { openExternal } from "../../openExternal";
|
||||
|
||||
@@ -806,8 +806,13 @@ export function SettingsDialog({ tab }: { tab?: SettingsTab }) {
|
||||
<Icon name="book-open" size={13} />
|
||||
</button>
|
||||
</SettingRow>
|
||||
<SettingRow label="官网" desc="产品主页与最新动态">
|
||||
<button type="button" className="ops-btn ops-btn-secondary" title="打开官网" onClick={() => void openExternal(SITE_URL)}>
|
||||
<Icon name="external-link" size={13} />
|
||||
</button>
|
||||
</SettingRow>
|
||||
<SettingRow label="官网与价格" desc="产品介绍、版本对比与购买方案">
|
||||
<button type="button" className="ops-btn ops-btn-secondary" title="打开官网" onClick={() => void openExternal("/home")}>
|
||||
<button type="button" className="ops-btn ops-btn-secondary" title="打开官网定价" onClick={() => void openExternal(SITE_URL + "/pricing")}>
|
||||
<Icon name="external-link" size={13} />
|
||||
</button>
|
||||
</SettingRow>
|
||||
|
||||
Reference in new issue
Block a user