Commit eade8e6
feat(footer): 首页加 IH 生态社区栏(monitor / mc / openInvest) (#367)
* feat(footer): 加 IH 生态社区栏(monitor / mc / openInvest)+ 艾露猫
首页 Footer 导航区新增'社区 Community'栏目,与 Archives/Resources 同款列表 UI,
依次链接 monitor.involutionhell.com(服务器状态)、mc.involutionhell.com、
openinvest.involutionhell.com;栏目标题带艾露猫像素头像(public/friends/ailumao.png)。
i18n zh/en 双语;umami 埋点 community_click。
本地验证:pnpm typecheck / lint(Footer 无问题) / build 全过;build 表首页
仍为 ● /[locale] SSG,未回归 ƒ Dynamic;prod server 实测 zh/en 两 locale 均
正确渲染三链与顺序。
* refactor(home): 社区版块从 footer 移到首页正文(CTA 与归档之间)
按 UI 反馈:footer 栏目位置不够显眼。改成首页 Hero 里的独立版块,
插在双 CTA 行与 CLASSIFIED ARCHIVES 之间,把归档网格挤下去。
- Hero 新增 Community Network 版块:与归档网格同款报纸设计(border-t-4 +
mono 标签栏 + 分栏卡片),3 列列 monitor / mc / openInvest,NET-01~03 编号,
Visit → 外链;标签栏带艾露猫像素头像
- Footer 的 community 栏目撤回(恢复 3 列导航原样)
- i18n 从 footer.community 迁到 hero.community(zh/en)
本地:typecheck / lint(Hero+Footer 干净) / build 全过;build 表首页仍
● /[locale] SSG;prod server 实测版块位于 CTA 之后、归档之前,三链齐全。
* fix(home): 社区版块改紧凑横向布局,修复稀疏难读
原版照搬归档的高卡片:3 宽栏配短描述 + flex-1 把链接顶到底,中间大片留白、
阅读性差。改成横向紧凑卡:NET 编号左置基线对齐,标题内联箭头,描述紧跟其下,
去掉强制拉伸和底部空白,描述对比度提到 neutral-300。内容自然高度、不再空旷。
* feat(home): 社区版块改编辑体前哨波段 + 滚动揭示/反色 wipe 动效
反馈:三个并排一样的格子没设计感,想要下滑时的交互变换。改成三条全宽波段
(CommunityNetwork client 组件,motion/react):
- 站名超大衬线体做编辑体信号,功能呼号(Live Ops / Game Node / AI Desk)
取代无意义的 01/02/03 序号;monitor 带呼吸红点(它本就是实时状态台)
- 滚动进入视口错峰升起(whileInView + stagger),hover 墨色从左漫满整条
并反色(复用站点反色 idiom 做成 wipe)
- mounted 门控 + useReducedMotion:SSR/无 JS/reduced-motion 直接可见,
不把内容藏死;呼吸点与 wipe 都 motion-reduce 降级
本地:typecheck / lint(两文件干净) / build 全过;首页仍 ● /[locale] SSG
(client 组件只 hydrate 不破坏静态);Playwright 实测静止 + hover 反色两态。
* copy(home): openInvest 明确为开源实验项目、非投资建议
公益教育社区首页不宜出现无限定的金融项目。openInvest 描述加'开源实验项目
… 仅供研究,非投资建议',呼号 AI Desk → AI Lab 去掉交易台意味、强调研究属性。
* fix(home): 去掉 mounted 门控修 CI lint error
react-hooks 7 规则禁止 effect 内同步 setState(set-state-in-effect)。
mounted 门控触发该 error 导致 CI build 挂。改为只用 useReducedMotion——
SSR 首渲染与客户端一致(无 hydration 错配),动效行为不变。
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 5b7e4ce commit eade8e6
5 files changed
Lines changed: 167 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
44 | 70 | | |
45 | 71 | | |
46 | 72 | | |
| |||
120 | 146 | | |
121 | 147 | | |
122 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
123 | 155 | | |
124 | 156 | | |
125 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
| |||
Loading
0 commit comments