fix:完善项目目录

This commit is contained in:
ljy
2026-07-29 22:28:42 +08:00
parent 344920fd5d
commit 43c530e915
4 changed files with 177 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
---
description: 双主题视觉与 LP 章节结构约定
globs: src/App.tsx,src/App.css,src/index.css
alwaysApply: false
---
# UI 与章节
## 双主题
- `hero``system``.poetic-section`(宣纸/国风:`--paper`、`--ink`、`--red`、`--gold`
- `tech``contact``.tech-section`(深色科技:`--tech`、`--tech-card`、`--tech-line`
- 新增章节必须选对主题族;勿混用两套配色令牌
## 改章节
1. 更新 `sections` 常量(id / label / title / summary
2. 更新 `navItems`hero 通常不进顶栏)
3. 增加带正确 `id` 的 `<section className="page-section …">`
4. 同步展控 UIdots、panel、进度)
## 视觉原则
- 首屏品牌优先;章节多为 full-bleed 背景,保持 scroll-snap
- 动效沿用 `fadeRise`、`reveal-*`、`.is-entered`、`--slide-i`,勿堆叠无关徽章/卡片装饰
- 静态资源用 `/assets/...`;勿引用 `pdf-ref/`
- 响应式断点已有约 `1100px`、`760px`,优先扩展现有规则