Skip to content

文案:hub「官方」→「自研」+ 页脚商标免责声明(ONE-524) - #8

Merged
mapxn merged 1 commit into
mainfrom
agent/mary/761a6229a259
Oct 27, 2026
Merged

mapxn merged 1 commit into
mainfrom
agent/mary/761a6229a259

Conversation

@mapxn

@mapxn mapxn commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

ONE-524(父单 ONE-522):hub 对外文案修订,规格 v1.5。纯文案字符串替换 + 页脚新增一行免责声明,无逻辑/结构/样式/依赖变更。

改动(6 文件,+20 −16)

  1. src/lib/site.ts:12 — SITE.description:删「官方」→「自研项目与经收录把关的第三方开源项目」。
  2. src/lib/project-types.ts — TIER_META.official.label 官方→自研;SOURCE_LABELS.official 官方项目→自研项目;SORT_OPTIONS 默认项 默认(官方置顶 …)→默认(自研置顶 …)。
  3. src/pages/index.astro — Hero 副标题、统计 <dt>自研项目</dt>、自研区 <h2>自研项目</h2>、说明「金色徽章 = 自研」、链接「只看自研」。
  4. src/pages/projects/index.astro:35 — 「自研与第三方混合展示」。
  5. src/pages/about/index.astro — meta description、首段、<h2>自研项目与第三方项目</h2>、示例徽章文字、<h3>自研项目</h3>、「自研项目在任何列表中恒定带金色「自研」徽章并可置顶」。
  6. src/components/site/site-footer.astro — 版权栏新增:本站为独立项目,与 Cloudflare, Inc. 无隶属或背书关系;Cloudflare、Workers 为 Cloudflare, Inc. 的商标。

明确未动

  • 数据模型与枚举:source: official / tier: official / ProjectSource / VerificationTier / 数据文件字段名全部原样。
  • 准确指称外部方的「官方」:project-types.ts:86 的 Cloudflare 官方 Deploy Button;src/data/projects/{lx-music-server,edgeever,uptimeflare}.yaml 的上游官方描述;.github/workflows/deploy.yml 的 GitHub 官方 Pages 动作。
  • 代码注释、tests/、scripts/、.github/PULL_REQUEST_TEMPLATE.md、CONTRIBUTING.md、README.md。

自测

  • pnpm build ✅(24 页)
  • pnpm lint ✅(astro check 0 errors / 0 warnings / 0 hints;prettier --check 全通过)
  • pnpm test ✅ 120 pass / 0 fail / 1 skip(121 tests)
  • pnpm validate:data ✅ 11 个项目校验通过
  • 产物抽查:dist/** 24 个页面均含新免责声明;首页/关于/项目页文案已换为「自研」;徽章文字渲染为「自研」。

- site.ts / project-types.ts / index.astro / projects/index.astro / about/index.astro:
  以「官方」指称本站第一方项目之处逐点改为「自研」,含徽章文字、来源标签、排序项、
  Hero 副标题、统计项、区块标题与说明、链接文案。
- site-footer.astro:版权栏新增商标免责声明一行(主站与镜像同源生效)。
- 不动数据模型与枚举(source/tier: official),不动指称 Cloudflare / 上游 / GitHub 官方的「官方」。
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
ffac764 2026-10-27T06:36:41.371Z View logs ↗

@mapxn
mapxn merged commit 8e500a6 into main Oct 27, 2026
3 of 4 checks passed
@mapxn
mapxn deleted the agent/mary/761a6229a259 branch November 8, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant