Repository navigation
fix(header): 页头品牌区删除 hub 后缀小字 - #18
Merged
Merged
Conversation
Checkpoint: IaSUkfwi8nBqBKHhngcT-
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://tds-conv-01a1bed8-6bc5-717b-861b-6fbd668be710-workerhub.pama.workers.dev (commit aaaf95a)This URL reflects your latest Preview deploymentPreview 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.
概述
W图标、WorkerHub、浅灰小字hub。其中hub是项目内部代号,对访客没有意义,因此按规格整行删除。gap-2的间距自然收拢,没有改动任何样式类名,也没有留下空占位或注释。变更
src/components/site/site-header.astro:删除品牌链接内的<span class="hidden text-xs font-normal text-muted-foreground sm:inline">hub</span>一行。W图标、WorkerHub字样、aria-label="WorkerHub 首页"、主导航、GitHub 链接、主题切换按钮,以及布局和间距类名。hub、主题存储键hub-theme、域名hub.oneboy.app、项目代号与代码注释里的 hub。dist/是构建产物、不入仓,本次无需重建提交;仓库内联的src/data/cache/github-meta.json等自动字段与本次改动无关,未变动。验证
pnpm test:136 项,136 通过 / 0 失败 / 0 跳过。pnpm lint:astro check 63 个文件,0 错误 / 0 警告 / 0 提示;Prettier 全部通过。pnpm build:24 个页面构建成功;pnpm validate:data:11 个项目校验通过。WorkerHub右缘与品牌链接右缘重合于 286.38px,无残留空白;页头高度 57px 不变。sm:inline,窄屏隐藏;页头高 89px、折行位置不变。hub品牌后缀残留。截图保存在构建机,未提交入仓(仓库范围限定为这一行改动)。