Refactor scroll system, regions, layout and download flow
- Completely reworked `useRegionScroll` controller: paginated region-by-region scroll (wheel/swipe/arrows/Home/End/Space), native scroll neutralized, regions taller than viewport split into screens, time-based rAF animation, interruption only on effective deviation. - Region resolution in 3 levels: `data-region` (single element), `data-region-children` (each direct child), `.page-snap-section` as fallback. Added `data-no-region` to exclude hero/title. - Homepage: entire MagicBento as a single region. Projects page: one stop per project (`HorizontalMotion` with `data-region-children`), category title preserved, hero excluded. - Project detail pages (ProjectPage): hero excluded from regions, media in `data-region-children`, download button as separate region. - Contact/PageShell: updated markers, removed empty zones (no forced `min-height` on `.page-snap-section`). - Removed unbounded `--region-tail` in favor of capped reserve (15vh) + merged landing spots too close to each other. - Navigation: more reliable scroll-to-top, footer "Co Hai Se" bold with target cursor. - ZIP download: stopped propagation + global click handler ignores download. - Various fixes (cursor, 404, layouts), docs updated, typecheck/ignoreDeprecations adjusted.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Documentation — Esiah's Universe
|
||||
|
||||
This project is an interactive React/Vite portfolio. Documentation is minimal and focused on project-specific conventions.
|
||||
|
||||
## Key Files
|
||||
- `AGENTS.md` — Core rules for AI agents
|
||||
- `ROADMAP.md` — Current and planned work
|
||||
Reference in New Issue
Block a user