From 9e689164cd83caa2a2218ebb6d7156a4ed336e00 Mon Sep 17 00:00:00 2001 From: Rocky <72559939+hkgood@users.noreply.github.com> Date: Thu, 30 Jul 2026 13:12:55 +0800 Subject: [PATCH] style(site): unify platform download badges Give App Store and macOS downloads matching dimensions and two-line typography so platform choice stays clear without extra labels. --- CHANGELOG.md | 4 ++-- README.en.md | 8 ++++---- README.md | 8 ++++---- docs/assets/badges/ios-en.svg | 11 +++++++++++ docs/assets/badges/ios-zh.svg | 11 +++++++++++ docs/assets/badges/macos-en.svg | 12 ++++++------ docs/assets/badges/macos-zh.svg | 12 ++++++------ docs/index.html | 20 ++++++++++---------- 8 files changed, 54 insertions(+), 32 deletions(-) create mode 100644 docs/assets/badges/ios-en.svg create mode 100644 docs/assets/badges/ios-zh.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d9509f..f3eff95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,9 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added -- **macOS direct download**: bilingual README and GitHub Pages download areas now offer a signed, notarized macOS DMG alongside the iPhone / iPad App Store badge, using distinct badge designs. / **macOS 直接下载**:中英文 README 与 GitHub Pages 下载区在 iPhone / iPad App Store 徽章旁新增已签名、公证的 macOS DMG,并通过不同徽章样式区分平台。 +- **macOS direct download**: bilingual README and GitHub Pages download areas now offer a signed, notarized macOS DMG alongside the iPhone / iPad App Store badge, using matching two-line badge designs. / **macOS 直接下载**:中英文 README 与 GitHub Pages 下载区在 iPhone / iPad App Store 徽章旁新增已签名、公证的 macOS DMG,并统一采用双行徽章样式。 - **Beams hero**: radiant noise-warped beam array (React Bits–style, vanilla Three.js) with the shared demo preset (26 beams, 208° rotation) and OSG green light. / **Beams Hero**:放射状噪声光束阵列(React Bits 风格,原生 Three.js),采用分享的演示预设(26 束、208° 旋转)与 OSG 绿色灯光。 -- **App Store download badges**: official badges on bilingual READMEs (hero + Get sections) and the website, with China-store `/cn/` links for Chinese and regionless App Store links for English. / **App Store 下载徽章**:中英文 README(顶部与获取区)与官网挂载官方徽章;中文链 `/cn/`,英文用无地区链接。 +- **Platform download badges**: matching App Store and macOS badges on bilingual READMEs and the website, with localized copy and platform-specific links. / **平台下载徽章**:中英文 README 与官网采用统一样式的 App Store、macOS 徽章,并提供本地化文案与平台专属链接。 - **Website SEO & AI discovery**: richer meta/JSON-LD/FAQ, `llms.txt`, sitemap, and bilingual single-page landing. / **官网 SEO 与 AI 发现**:强化 meta/JSON-LD/FAQ、`llms.txt`、sitemap,以及双语单页落地站。 - **Context-aware polish safeguards**: polish can use a redacted cursor-neighborhood snapshot for natural continuation, validates protected terms and identifiers, retries once, and falls back to a conservative local cleanup when needed. / **上下文润色护栏**:润色可使用经截断脱敏的光标附近文字自然衔接,并校验受保护词与标识符;失败时重试一次,仍不合格则降级为本地保守清理。 - **Pause-aware chunk polish**: chunked ASR carries detected silence boundaries into the polish request while keeping previews and final output marker-free. / **分块停顿感知润色**:分块 ASR 将检测到的静音边界传入润色请求,实时预览与最终输出均不会显示内部标记。 diff --git a/README.en.md b/README.en.md index 754d8ea..ecf1165 100644 --- a/README.en.md +++ b/README.en.md @@ -14,11 +14,11 @@ Voice input for iPhone, iPad, and Mac. Speak in any app — polished text lands

- Download for iPhone and iPad + Download now from the App Store   - Download for macOS + Download now — macOS version

@@ -67,13 +67,13 @@ Speech is transcribed on-device by default. Polish sends **text only** — the t **iPhone / iPad (App Store)** - Download for iPhone and iPad + Download now from the App Store **Mac (Developer ID signed and notarized)** - Download for macOS + Download now — macOS version ## Build from source diff --git a/README.md b/README.md index cc4c6ac..54d9f72 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@

- 下载 iPhone / iPad 版 + 立即下载 App Store 版   - 直接下载 macOS 版 + 立即下载 macOS 版本

@@ -72,13 +72,13 @@ **iPhone / iPad(App Store)** - 下载 iPhone / iPad 版 + 立即下载 App Store 版 **Mac(Developer ID 签名并公证)** - 直接下载 macOS 版 + 立即下载 macOS 版本 **从源码构建**(需 macOS + Xcode 26): diff --git a/docs/assets/badges/ios-en.svg b/docs/assets/badges/ios-en.svg new file mode 100644 index 0000000..d5bd73a --- /dev/null +++ b/docs/assets/badges/ios-en.svg @@ -0,0 +1,11 @@ + + Download now - App Store + + + + + + + DOWNLOAD NOW + App Store + diff --git a/docs/assets/badges/ios-zh.svg b/docs/assets/badges/ios-zh.svg new file mode 100644 index 0000000..bea6cdf --- /dev/null +++ b/docs/assets/badges/ios-zh.svg @@ -0,0 +1,11 @@ + + 立即下载 App Store + + + + + + + 立即下载 + App Store + diff --git a/docs/assets/badges/macos-en.svg b/docs/assets/badges/macos-en.svg index 037ad10..7a75484 100644 --- a/docs/assets/badges/macos-en.svg +++ b/docs/assets/badges/macos-en.svg @@ -1,11 +1,11 @@ - - Download for macOS - - + + Download now — macOS version + + - DIRECT DOWNLOAD - macOS + DOWNLOAD NOW + macOS version diff --git a/docs/assets/badges/macos-zh.svg b/docs/assets/badges/macos-zh.svg index 8564105..fadf2d3 100644 --- a/docs/assets/badges/macos-zh.svg +++ b/docs/assets/badges/macos-zh.svg @@ -1,11 +1,11 @@ - - 直接下载 macOS 版 - - + + 立即下载 macOS 版本 + + - 直接下载 - macOS 版 + 立即下载 + macOS 版本 diff --git a/docs/index.html b/docs/index.html index 3ac7939..8b82b74 100644 --- a/docs/index.html +++ b/docs/index.html @@ -931,10 +931,10 @@

免费开源的跨端语音输入。本地识别,自带 API Key 润色,避免重复订阅。iPhone、iPad、Mac — 说完即落字。

- 下载 iPhone / iPad 版 + 立即下载 App Store 版 - 直接下载 macOS 版 + 立即下载 macOS 版本 @@ -1261,10 +1261,10 @@
- 下载 iPhone / iPad 版 + 立即下载 App Store 版 - 直接下载 macOS 版 + 立即下载 macOS 版本
@@ -1529,17 +1529,17 @@ const STORE = { zh: { href: "https://apps.apple.com/cn/app/osgkeyboard/id6781553267", - src: "assets/badges/appstore-zh.svg", - alt: "下载 iPhone / iPad 版", + src: "assets/badges/ios-zh.svg", + alt: "立即下载 App Store 版", macSrc: "assets/badges/macos-zh.svg", - macAlt: "直接下载 macOS 版" + macAlt: "立即下载 macOS 版本" }, en: { href: "https://apps.apple.com/app/osgkeyboard/id6781553267", - src: "assets/badges/appstore-en.svg", - alt: "Download for iPhone and iPad", + src: "assets/badges/ios-en.svg", + alt: "Download now from the App Store", macSrc: "assets/badges/macos-en.svg", - macAlt: "Download for macOS" + macAlt: "Download now — macOS version" } };