feat(experience): timeline status + career-break nodes, TLDR terminal node, prose measures

Timeline structure
- Spine drawn per node (.timeline-entry::before) instead of one line on .timeline, so it ends at
  the TLDR diamond; marker and spine centres coincide at x=6 (gutter 36 desktop / 28 mobile)
- TLDR terminal node: markup in ExperiencePage + Experience section, copy in i18n/strings.ts
  (experience.tldr / experience.tldrText), CSS .timeline-tldr* (stub, accent link, hollow
  diamond, chip, text)
- ExperienceEntry gains variant?: 'current' | 'gap'; the class is composed in JSX rather than
  hard-coding entry ids

Node decoration
- current node: TLDR-family panel (--bg-surface, 1px --border, radius-lg, whisper shadow) with a
  2px accent left edge, real entry padding (16/18/20, mobile 14/16/18) and a pulsing marker;
  mobile pulse capped at 6px spread so the ring never touches the panel border
- gap node: dashed spine (repeating-linear-gradient), 10px muted marker, no divider,
  italic-muted title and company

Data
- New relax-gap entry (Aug 2026 – Oct 2026) between open-to-work and lazada-senior-swe; unique
  entry ids; Nexts and SAP bullets aligned across VI/EN

Typography
- Add --measure-page (680px); .prose-wide / .lede-wide; .page-body 700 -> 680; philosophy grid
  3 columns, 2 at <=1024px

Cleanup
- Achievements dropped from the SPA timeline and their dead .achievement* rules deleted
  (.achievement-metric kept: projects pages still use it)

Resume generator
- "${exp.achievements?.map(...).join('')}" short-circuited the whole chain and printed the
  literal "undefined" in every PDF once an entry had no achievements; now (exp.achievements ?? [])

Docs: spec-ui-experience.md, spec-v3-typography.md, AGENTS.md

Verified: tsc -b clean; vite build green; oxlint 11 errors / 9 warnings (HEAD baseline was 15/9 —
the four that disappeared were the achievements markup findings); pnpm build:resume-all renders
both PDFs with the new ordering and no "undefined".
This commit is contained in:
dong.nguyen committed 2026-10-16 23:14:52 +07:00
1 parent d172843738
commit 166eb171b5
14 files changed
+609 -342

No files matched your search

+28 -30
View File
@@ -12,44 +12,42 @@ export function AboutPage() {
return (
<>
<AnimatedSection>
<section className="section container-content" aria-labelledby="about-heading">
<section className="section container-wide" aria-labelledby="about-heading">
<SectionHeading
title={strings.about.heading[lang]}
subtitle={strings.about.subtitle[lang]}
tag={strings.about.heading[lang]}
/>
<div className="page-body">
<p className="prose-lede">
{useField(profile.bio, profile.bioEn)}
</p>
<p className="prose-lede lede-wide">
{useField(profile.bio, profile.bioEn)}
</p>
<h3 className="subheading">
{strings.about.engineeringTitle[lang]}
</h3>
<div className="philosophy-grid">
{profile.philosophy.map((point) => (
<div key={point.title} className="philosophy-card">
<h3>{point.title}</h3>
<p>{point.description}</p>
<div className="philosophy-keywords">
{point.keywords.map((kw) => (
<Tag key={kw}>{kw}</Tag>
))}
</div>
<h3 className="subheading">
{strings.about.engineeringTitle[lang]}
</h3>
<div className="philosophy-grid">
{profile.philosophy.map((point) => (
<div key={point.title} className="philosophy-card">
<h3>{point.title}</h3>
<p>{point.description}</p>
<div className="philosophy-keywords">
{point.keywords.map((kw) => (
<Tag key={kw}>{kw}</Tag>
))}
</div>
))}
</div>
</div>
))}
</div>
<h3 className="subheading">
{strings.about.exploringTitlePage[lang]}
</h3>
<div className="interests-list">
{profile.currentInterests.map((interest) => (
<Tag key={interest} accent>
{interest}
</Tag>
))}
</div>
<h3 className="subheading">
{strings.about.exploringTitlePage[lang]}
</h3>
<div className="interests-list">
{profile.currentInterests.map((interest) => (
<Tag key={interest} accent>
{interest}
</Tag>
))}
</div>
</section>
</AnimatedSection>