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
hoelee-profile
Personal profile and animated resume for Lee Teong Hoe (Mr Hoelee) — Full Stack Engineer · AI & Automation · DevOps.
Live: https://me.hoelee.com
What this is
An animated developer profile: the page types its own stylesheet in a code editor on the left while rendering the resume on the right, then finishes with a thank-you / contact panel.
It's a personal site — the content is my resume, not a reusable template. The technique is adapted from jirengu-inc/animating-resume (Apache-2.0); see Credits.
Tech stack
| Technology | Role |
|---|---|
| Vue 3 | UI framework |
| Vite 6 | Dev server and build tool |
| Prism.js | Syntax highlighting in the code panel |
| marked | Markdown → HTML rendering |
Project structure
| Path | Purpose |
|---|---|
src/App.vue |
Desktop layout — orchestrates the typewriter sequence |
src/Mobile.vue |
Mobile layout (used when viewport ≤ 500px) |
src/config/profile.js |
All content lives here — details, Markdown, animation speed, typed CSS |
src/components/StyleEditor.vue |
Left panel: highlighted, self-typing CSS |
src/components/ResumeEditor.vue |
Right panel: resume markdown → HTML |
src/components/ThankEditor.vue |
Footer: thank-you / contact panel |
src/main.js |
Entry point, picks desktop vs mobile |
src/assets/reset.css |
Reset + border-box baseline |
public/robots.txt |
Crawler directives (copied into the build) |
Editing the content
Everything you'd want to change is in src/config/profile.js:
name,title— identity and headlinetypingSpeed— ms per character (1= near-instant,20= slow and dramatic)resumeMarkdown— the resume bodythanksMarkdown— the thank-you / contact paneldesktopStyles/mobileStyles— arrays of CSS strings, typed in sequence
Note on the CSS arrays. Each array is typed in order and every stage is appended to the same injected
<style>tag. Because they all end up in one stylesheet, a later stage's shorthand (e.g.margin: 0 auto) overrides an earlier stage's longhand (margin-top: 1em). Keep the final visual values in the last stage of each array — that is what wins.
Development
npm install
npm run dev # http://localhost:8080
npm run build # outputs to dist/
npm run preview # serve the production build locally
Requires Node ≥ 18 (built and tested on Node 24).
Deployment
Pushed to Gitea only — git.hoelee.com/hoelee/hoelee-profile. There is no GitHub mirror.
me.hoelee.com is served by an nginx:alpine container (nginx-me.hoelee.com) on the VPS at
41.216.187.102, behind Traefik. The container mounts the built site read-only:
| Host path | Container path |
|---|---|
/docker/web/me.hoelee.com/public |
/var/www/html |
/docker/web/me.hoelee.com/nginx/default.conf |
/etc/nginx/conf.d/default.conf |
To deploy a new build:
npm run build
rsync -av --delete dist/ [email protected]:/docker/web/me.hoelee.com/public/
The site is static — no PHP or database is used. The php:9000 upstream in the nginx config is a
leftover from the shared web template and is not needed by this site.
Credits
Adapted from jirengu-inc/animating-resume by jirengu-inc — the original animated resume project.