Commit Graph
7 Commits
Author SHA1 Message Date
hoelee 11af512022 Revert "fix(ui): flat readable document, ~3s pacing, skip + replay controls"
This reverts commit a20a79c855.
2026-11-14 21:26:01 +08:00
hoelee a20a79c855 fix(ui): flat readable document, ~3s pacing, skip + replay controls
Argon review of the live page (2026-11-13) called the current experience
unshippable on three counts: a ~1.5s blank start, the CV locked in a 70vh
inner-scroll box (77% hidden on desktop, ~11% visible on a phone), and no
way out of a ~10s animation. Changes:

- document scrolls normally: #content is a flex row with natural height and
  the code pane is position:sticky (verified sticky at scrollY 400/1200 and
  releasing at the container end); the resume has no nested scrollbar, so
  Ctrl+F, selection and native print work again
- mobile: the code pane is a 100px live strip instead of 47vh, so the CV
  starts at ~140px down the page (was ~450px)
- resume renders at ~1.2s (was 3.5s); the whole animation settles in ~2.8s
  (charsPerTick 5 -> 18) without gating the content
- "Skip animation" pill while typing, "Replay animation" afterwards, plus
  the existing prefers-reduced-motion short-circuit; repeat visitors get the
  finished page immediately via localStorage hoelee_cv_seen
- a11y: decorative code pane aria-hidden, resume pane tabindex=0 with
  aria-live off->polite, all typing loops honour a cancelled flag
- thank-you panel is content-sized (min-height 0) with a 68ch centred
  text block instead of a tall half-empty beige box
2026-11-14 00:35:11 +08:00
hoelee 7f8ac893d0 fix(ui): remove the white flash, the dead 501-900px breakpoint and the mobile scroll hijack
Measured on the live build (headless Chrome, 4 viewports):
- first paint was blank white for ~1.5 s and the right pane was empty until t=3.5 s
  -> inline html{background} in index.html + theme-color, matching both palettes
- 501-900 px still rendered the desktop component: panes 231 px wide with 7,726 px of
  resume content -> the stacked mobile component now owns everything up to 900 px
- mobile scrolled itself to the bottom on every typing tick (scrollY 611 at rest),
  hiding the resume the reader was on -> removed; the panel sits in normal flow
- the thank panel's translateZ(-200px) pulled it ~32 px up over the editor panes
  -> rotateX(-10deg) only, measured gap now +3 px instead of -32 px
- prefers-reduced-motion reduced: render the finished page instead of 10 s of typing
- 'www.hoelee.com & linkd' was autolinked as http:// -> explicit https link
- resume pane had a 9 px phantom horizontal scrollbar (vertical bar measured into
  scrollWidth) -> overflow-y auto / overflow-x hidden
2026-11-13 22:12:15 +08:00
hoelee 86336ed86f Fix empty resume panel (populate markdown) and mobile thank-section overlap (normal-flow stack) 2026-09-20 07:59:53 +08:00
hoelee 4c78e8efd4 Profile polish: both git links, tighter gutter, page-scroll thank section, 6x faster typing, reordered sequence, mobile thank panel 2026-09-20 07:45:15 +08:00
hoelee 06d609ba94 feat: open-source template refactor
Deploy to GitHub Pages / deploy (push) Has been cancelled
- Extract content to src/config/profile.js (single-file customization)
- Add Apache-2.0 LICENSE, CONTRIBUTING.md, robots.txt
- Add GitHub Pages auto-deploy workflow
- Update package.json: private=false, license, homepage
- Add SEO/Open Graph meta tags to index.html
- Rewrite README.md with Quick Start guide
- Update .gitignore: AI tooling, caches, deployment state
2026-08-10 06:54:58 +08:00
hoelee dbe18e51bd Initial commit for Github 2025-10-16 04:59:04 +08:00