From a20a79c855cd6b0a94a4b427cb69d67f16a98198 Mon Sep 17 00:00:00 2001 From: hoelee Date: Sat, 14 Nov 2026 00:34:59 +0800 Subject: [PATCH] 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 --- .gitignore | 1 + src/App.vue | 79 +++++++++++++++++++++++++++++---- src/Mobile.vue | 67 ++++++++++++++++++++++++---- src/components/ResumeEditor.vue | 4 +- src/components/StyleEditor.vue | 2 +- src/config/profile.js | 74 ++++++++++++++++++++++++++++-- 6 files changed, 203 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index d4a5682..d8129d7 100644 --- a/.gitignore +++ b/.gitignore @@ -68,3 +68,4 @@ NUL # .netlify/ # .vercel/ .codegraph/ +YT-Banner-Hoelee/ diff --git a/src/App.vue b/src/App.vue index 9adceb9..101ac17 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,8 +1,10 @@