fix: clarify site positioning and keep downloads prominent
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s
Deploy website to GitHub Pages / Deploy static website (push) Canceled after 0s

Highlight domestic platform support and built-in coding agents, replace placeholder demos with task workflows, and add bilingual setup FAQs. Keep downloads directly after the hero and improve mobile demo layout.

Release note: Update the bilingual website with clearer product copy and demos, prominent downloads, and setup guidance. DeepSeek Harness and LoongArch retain their preview labels.
This commit is contained in:
mesalogo
2026-09-28 12:10:22 +08:00
parent 013e72f69e
commit 83a3ea261e
5 changed files with 436 additions and 142 deletions
+22 -11
View File
@@ -248,10 +248,11 @@ for (const breakpoint of ["1199px", "959px", "719px"]) {
}
const requiredCopy = [
"免注册",
"支持信创软硬件的",
"无需注册 GoodBuddy 账号",
"面向国产化",
"与信创环境的",
"产品亮点",
"本地工作空间,统一 Runtime,也支持信创环境",
"桌面 AI 工作空间",
"桌面版本覆盖国产 x64、ARM64 和龙芯 LoongArch",
"龙芯 LoongArch 独立编译预览版",
"龙芯 LoongArch(实验预览)",
@@ -262,13 +263,12 @@ const requiredCopy = [
"银河麒麟",
"海光 · 兆芯(x64)",
"鲲鹏 · 飞腾(ARM64)",
"Agent Runtime 可连接",
"直连模型、OpenCode、Continue",
"内置集成 OpenCode、Continue",
"DeepSeek Harness",
"魔法笔记",
"智能心跳",
"文件、截图、应用窗口、剪贴板和离线语音",
"微信、企业微信和钉钉",
"微信、企业微信或钉钉",
];
for (const copy of requiredCopy) {
@@ -276,13 +276,10 @@ for (const copy of requiredCopy) {
}
const requiredEnglishCopy = [
"No account required.",
"No GoodBuddy account required",
"Product highlights",
"Model chat and coding agents",
"on your desktop.",
"Windows, macOS, and Linux",
"separate experimental LoongArch preview",
"Agent Runtimes in one desktop interface",
"LoongArch has a separate experimental preview",
"Direct models",
"OpenCode",
"Continue",
@@ -294,6 +291,20 @@ for (const copy of requiredEnglishCopy) {
report(englishHtml.includes(copy), `英文页面缺少准确文案:${copy}`);
}
for (const [relativePath, content] of [["index.html", html], ["en.html", englishHtml]]) {
for (const id of ["workflows", "faq"]) {
report(content.includes(`id="${id}"`), `${relativePath} 缺少 ${id} 区域`);
}
const mainContent = content.match(/<main\b[^>]*>([\s\S]*?)<\/main>/)?.[1] ?? "";
const mainSections = [...mainContent.matchAll(/<section\b[^>]*>/g)];
report(/\sid="download"/.test(mainSections[1]?.[0] ?? ""),
`${relativePath} 下载区必须是 main 中的第二个 section`);
report((content.match(/<summary>/g) ?? []).length >= 4,
`${relativePath} 常见问题必须使用原生可展开控件`);
report(!/approval-controlled|受控执行|继续经过审批/.test(content),
`${relativePath} 不得保留过时的执行审批文案`);
}
for (const forbiddenCopy of ["信创", "国产", "统信 UOS", "银河麒麟", "海光", "兆芯", "鲲鹏", "飞腾"]) {
report(!englishHtml.includes(forbiddenCopy), `英文页面不得包含中文信创文案:${forbiddenCopy}`);
}