refactor(home): 首页首屏去影像,与其余营销首屏统一为纯排版;R22 并入首页并收窄扫描范围
用户:「首页也一起换掉,跟正文保持一致」。首屏底图是暗色建筑内景,与正文被否的同一类 (照片不承担语义),撤除后首页不再有任何装饰影像。 - 撤除首屏全幅底图 `hero-architecture.webp`、右侧错位副图(industry-manufacturing)、 压暗渐变层与 HatchField/DoubleChevron 拼贴件;文字列 7 → 8 - 首屏保留的语法:黑底 + 白字 + 一条红 eyebrow 短线 + 双轨 CTA(不依赖影像的那部分) - **R22 并入首页**(此前是全站唯一没有影像守卫的首屏),分母 16 → 17 - R22 扫描范围分两种:一般营销页整份文件禁影像;首页只禁**首屏区块** (data-testid="hero-section" 到最近的 </section>),因为新闻 teaser 的 <Image> 是内容图。 补第六向自证:首屏外内容图不误报 + 首屏内影像判红,两个方向都测,防「见 Image 就报」的坏判据 - 基线:首页 12 张重采(含明暗主题首页),采前 12 红 → 采后 25 passed / 0 failed 验证:tsc 0 · eslint 0 error · jest 161 套件/1891 例 · check:grammar 25/25 + selftest EXIT=0 · e2e:fast 排除写库 spec 后 56 passed / 0 failed(cms-workflow 单跑 3 passed; 连续跑触发 admin 登录的进程内限流,非回归)
This commit is contained in:
1 parent
e450731e8f
commit
bd71ca6ba3
17 files changed
+79
-77
No files matched your search
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 6.0 MiB After Width: | Height: | Size: 3.9 MiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 6.0 MiB After Width: | Height: | Size: 3.8 MiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 6.0 MiB After Width: | Height: | Size: 3.9 MiB |
Reference in new issue
Block a user