Repository navigation
文案:hub「官方」→「自研」+ 页脚商标免责声明(ONE-524) - #8
Merged
Merged
Conversation
- site.ts / project-types.ts / index.astro / projects/index.astro / about/index.astro: 以「官方」指称本站第一方项目之处逐点改为「自研」,含徽章文字、来源标签、排序项、 Hero 副标题、统计项、区块标题与说明、链接文案。 - site-footer.astro:版权栏新增商标免责声明一行(主站与镜像同源生效)。 - 不动数据模型与枚举(source/tier: official),不动指称 Cloudflare / 上游 / GitHub 官方的「官方」。
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ONE-524(父单 ONE-522):hub 对外文案修订,规格 v1.5。纯文案字符串替换 + 页脚新增一行免责声明,无逻辑/结构/样式/依赖变更。
改动(6 文件,+20 −16)
src/lib/site.ts:12—SITE.description:删「官方」→「自研项目与经收录把关的第三方开源项目」。src/lib/project-types.ts—TIER_META.official.label官方→自研;SOURCE_LABELS.official官方项目→自研项目;SORT_OPTIONS默认项默认(官方置顶 …)→默认(自研置顶 …)。src/pages/index.astro— Hero 副标题、统计<dt>自研项目</dt>、自研区<h2>自研项目</h2>、说明「金色徽章 = 自研」、链接「只看自研」。src/pages/projects/index.astro:35— 「自研与第三方混合展示」。src/pages/about/index.astro— meta description、首段、<h2>自研项目与第三方项目</h2>、示例徽章文字、<h3>自研项目</h3>、「自研项目在任何列表中恒定带金色「自研」徽章并可置顶」。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 check0 errors / 0 warnings / 0 hints;prettier --check全通过)pnpm test✅ 120 pass / 0 fail / 1 skip(121 tests)pnpm validate:data✅ 11 个项目校验通过dist/**24 个页面均含新免责声明;首页/关于/项目页文案已换为「自研」;徽章文字渲染为「自研」。