Commit Graph

5 Commits

Author SHA1 Message Date
virtheart eac0785cf6 feat: 移植 Selected Work 区块(10 个作品卡片 + WebGL 图像层注册表),修复 canvas 吞掉 DOM 悬停
- WorkSection.tsx:1:1 还原原站 work 区块(selected-work 网格、rowGap=clientWidth/12、纵横比缓存、Coding Project 徽章、元数据行、外链/内链卡片)
- workItems.ts:从 d59f7a97 数据文件提取的 10 个作品条目(passcode 保护的 /2026 TikTok 条目按原站默认过滤)
- imageLayers.ts:重构为注册表(defs/targets/订阅版本号),ImageLayers 通过 useSyncExternalStore 响应 DOM 卡片注册
- HeroScene:Canvas 容器强制 pointer-events:none,指针跟踪全部走窗口级,避免吞掉 work 卡片悬停
- Header:Work 按钮滚动至 selected-work
2026-09-01 16:37:19 +08:00
virtheart e3e5a3663e feat: 添加 FooterSection 组件,更新页面结构以包含联系信息;优化 ScrambleReveal 组件以支持反向字符揭示 2026-09-01 15:19:31 +08:00
virtheart 602f1c82ed feat: 添加滚动环境和媒体状态管理,优化头部组件功能,支持背景音乐和主题切换 2026-09-01 14:39:37 +08:00
virtheart 744ec0becc feat: add glass models with advanced refractive shader and integrate into hero scene
- Introduced GlassModels component with custom vertex and fragment shaders for realistic glass effects.
- Updated HeroScene to include HelloModel and CursorStar components, utilizing the new glass shader.
- Enhanced Header component with ScrambleReveal for dynamic text display and local clock functionality.
- Implemented useIsMobile hook to adapt rendering based on screen size.
- Adjusted StickerLayer to ensure falling stickers are captured in the glass models' FBO pass.
2026-08-31 23:39:58 +08:00
virtheart 37173cfbeb Refactor code structure for improved readability and maintainability 2026-08-31 19:59:49 +08:00