mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
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:
1 parent
d172843738
commit
166eb171b5
14 files changed
+609
-342
No files matched your search
+291
-69
@@ -913,49 +913,226 @@
|
||||
/* ===== Experience Timeline ===== */
|
||||
.timeline {
|
||||
position: relative;
|
||||
padding-left: 32px;
|
||||
padding-left: 36px;
|
||||
}
|
||||
|
||||
.timeline::before {
|
||||
/* Spine is drawn per node so it can stop exactly at the TLDR diamond instead of
|
||||
trailing past the last card. left -31px = absolute x 5, so the 2px spine is centred
|
||||
on x 6 — the same centre the markers use. bottom -32px bridges the entry's own margin
|
||||
so consecutive segments join seamlessly. */
|
||||
.timeline-entry::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
left: -31px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
bottom: -32px;
|
||||
width: 2px;
|
||||
border-radius: 1px;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.timeline-entry {
|
||||
position: relative;
|
||||
margin-bottom: 48px;
|
||||
padding-bottom: 48px;
|
||||
padding-bottom: 32px;
|
||||
margin-bottom: 32px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
transition: border-color var(--transition-normal);
|
||||
}
|
||||
|
||||
/* First node starts the spine at its marker centre (top 6 + half of 12). */
|
||||
.timeline-entry:first-child::before {
|
||||
top: 12px;
|
||||
}
|
||||
|
||||
/* Guard for a timeline without a terminal node: stop at the entry's own bottom. */
|
||||
.timeline-entry:last-child::before {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.timeline-entry:last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* The 36px gutter puts the 12px marker's centre (x=6) exactly on the spine centre (left 5 + half of 2px). */
|
||||
.timeline-marker {
|
||||
position: absolute;
|
||||
left: -32px;
|
||||
top: 4px;
|
||||
left: -36px;
|
||||
top: 6px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--accent);
|
||||
border: 2px solid var(--border-strong);
|
||||
background: var(--bg-primary);
|
||||
transition: border-color var(--transition-normal), background var(--transition-normal);
|
||||
}
|
||||
|
||||
.timeline-entry:last-child .timeline-marker {
|
||||
/* Data is newest-first, so the first entry is the current role: filled marker with a soft halo. */
|
||||
.timeline-entry:first-child .timeline-marker {
|
||||
background: var(--accent);
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
left: -33px;
|
||||
top: 3px;
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 4px var(--accent-soft);
|
||||
}
|
||||
|
||||
.timeline-entry:hover .timeline-marker {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.timeline-entry:hover {
|
||||
border-bottom-color: var(--border-strong);
|
||||
}
|
||||
|
||||
/* The newest node is a status, not a past role. It borrows the TLDR panel's quiet family —
|
||||
flat surface, hairline border, radius, whisper shadow — and keeps two things the TLDR node
|
||||
does not: an accent left edge and a pulsing marker. The entry gets real padding so the text
|
||||
sits inside the panel instead of hugging its edge (the old bed had no padding, which on a
|
||||
28px mobile gutter put the accent bar right against the first glyph). */
|
||||
.timeline-entry-current {
|
||||
isolation: isolate;
|
||||
padding: 16px 18px 20px;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.timeline-entry-current .timeline-marker {
|
||||
background: var(--accent);
|
||||
border-color: var(--accent);
|
||||
animation: timeline-status-pulse 2.4s ease-out infinite;
|
||||
}
|
||||
|
||||
/* Panel geometry. The 12px marker occupies absolute x 0–12 and the pulse peak (10px spread)
|
||||
reaches x 22, so the panel's 2px left border starts at x 28 (left −8 against the 36px
|
||||
gutter): 6px clear of the ring, and the text starts at 36 + 18 = 54, i.e. 24px inside it.
|
||||
The entry's own divider is gone; the panel's border closes the box. */
|
||||
.timeline-entry-current::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
inset: -10px -10px -10px -8px;
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border);
|
||||
border-left: 2px solid var(--accent);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: inset 0 1px 0 var(--inset-highlight), 0 8px 20px -18px var(--shadow);
|
||||
}
|
||||
|
||||
@keyframes timeline-status-pulse {
|
||||
0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
|
||||
50% { box-shadow: 0 0 0 10px transparent; }
|
||||
}
|
||||
|
||||
/* Mobile variant of the same pulse: 6px spread, so the ring stops at x 18 and the panel border
|
||||
can keep 6px of air inside a 28px gutter. */
|
||||
@keyframes timeline-status-pulse-sm {
|
||||
0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
|
||||
50% { box-shadow: 0 0 0 6px transparent; }
|
||||
}
|
||||
|
||||
/* A break between jobs has to read as a break. Three signals, all quieter than the accent
|
||||
work nodes: the spine turns dashed through this node, the marker shrinks to a muted ring,
|
||||
the title goes italic-muted, and the divider is dropped so the dashed line bridges
|
||||
straight into the next role. */
|
||||
.timeline-entry-gap::before {
|
||||
background: repeating-linear-gradient(
|
||||
to bottom,
|
||||
var(--border-strong) 0px,
|
||||
var(--border-strong) 4px,
|
||||
transparent 4px,
|
||||
transparent 9px
|
||||
);
|
||||
}
|
||||
|
||||
.timeline-entry-gap {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* 10px ring: smaller than the 12px role markers. L = 6 − 36 − 10/2 = −35 keeps the centre on
|
||||
the spine (x 6). */
|
||||
.timeline-entry-gap .timeline-marker {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
left: -35px;
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
|
||||
.timeline-entry-gap .timeline-title {
|
||||
color: var(--text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.timeline-entry-gap .timeline-company {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* Terminal node: the whole timeline collapsed into one line. Deliberately quiet — a flat
|
||||
surface, a hairline border, a whisper of shadow. The only loud element is the diamond on
|
||||
the spine. */
|
||||
.timeline-tldr {
|
||||
position: relative;
|
||||
padding: 20px 24px;
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: inset 0 1px 0 var(--inset-highlight), 0 8px 20px -18px var(--shadow);
|
||||
}
|
||||
|
||||
/* Stub from the previous node down to the diamond centre (top 16 + 6). Painted as ::before
|
||||
so the diamond covers its end. */
|
||||
.timeline-tldr::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -31px;
|
||||
top: 0;
|
||||
width: 2px;
|
||||
height: 22px;
|
||||
border-radius: 1px;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
/* Hollow diamond: the same ring language as the entry markers, but in accent so it still
|
||||
reads as the end of the line. bg-primary fill masks the spine stub behind it; width and
|
||||
height are border-box, so the centre stays on the spine (x 6). */
|
||||
.timeline-tldr-marker {
|
||||
position: absolute;
|
||||
left: -36px;
|
||||
top: 16px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: 2px;
|
||||
background: var(--bg-primary);
|
||||
transform: rotate(45deg);
|
||||
box-shadow: 0 0 0 3px var(--accent-soft);
|
||||
}
|
||||
|
||||
/* Hairline link from the diamond into the panel, painted over the diamond so the join is
|
||||
unbroken. */
|
||||
.timeline-tldr::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -24px;
|
||||
top: 21px;
|
||||
width: 24px;
|
||||
height: 1px;
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
/* Same voice as .section-tag: mono, uppercase, letterspaced — no box around it. */
|
||||
.timeline-tldr-chip {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
font-family: var(--mono);
|
||||
font-size: 12px;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* No color declaration: inherits the global p treatment (--text-secondary), the same
|
||||
treatment every other lede on the site gets. */
|
||||
.timeline-tldr-text {
|
||||
font-size: var(--text-lede);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.timeline-header {
|
||||
@@ -970,76 +1147,56 @@
|
||||
}
|
||||
|
||||
.timeline-company {
|
||||
margin-top: 2px;
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.timeline-duration {
|
||||
.timeline-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 10px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.timeline-duration,
|
||||
.timeline-location {
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.timeline-location::before {
|
||||
content: '·';
|
||||
margin-right: 10px;
|
||||
color: var(--border-strong);
|
||||
}
|
||||
|
||||
.timeline-responsibilities {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-bottom: 24px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.timeline-responsibilities li {
|
||||
position: relative;
|
||||
padding-left: 18px;
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
padding-left: 16px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Dot sits on the x-height centre of the first line (line-height 1.65 → 0.66em). */
|
||||
.timeline-responsibilities li::before {
|
||||
content: '•';
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.achievement {
|
||||
background: var(--bg-surface);
|
||||
border-left: 4px solid var(--accent);
|
||||
border-radius: 0 var(--radius-md) var(--radius-md) 0;
|
||||
padding: 20px 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.achievement-title {
|
||||
font-size: 18px;
|
||||
line-height: 1.3;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.achievement-context {
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.achievement-impact {
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.achievement-metrics {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.achievement-techs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
top: 0.66em;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--accent);
|
||||
background: var(--accent-soft);
|
||||
}
|
||||
|
||||
.achievement-metric {
|
||||
@@ -1055,15 +1212,54 @@
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.timeline {
|
||||
padding-left: 0;
|
||||
padding-left: 28px;
|
||||
}
|
||||
|
||||
.timeline::before {
|
||||
display: none;
|
||||
.timeline-entry {
|
||||
padding-bottom: 24px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.timeline-marker {
|
||||
display: none;
|
||||
.timeline-entry::before {
|
||||
left: -23px;
|
||||
bottom: -24px;
|
||||
}
|
||||
|
||||
.timeline-tldr::before {
|
||||
left: -23px;
|
||||
}
|
||||
|
||||
.timeline-tldr::after {
|
||||
left: -16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.timeline-marker,
|
||||
.timeline-tldr-marker {
|
||||
left: -28px;
|
||||
}
|
||||
|
||||
/* 10px ring at the 28px gutter: L = 6 − 28 − 10/2 = −27. */
|
||||
.timeline-entry-gap .timeline-marker {
|
||||
left: -27px;
|
||||
}
|
||||
|
||||
/* Panel keeps a comparable absolute edge: 28 − 4 = 24, i.e. 6px clear of the capped mobile
|
||||
ring (x 18) and 18px before the text (28 + 16 padding). */
|
||||
.timeline-entry-current {
|
||||
padding: 14px 16px 18px;
|
||||
}
|
||||
|
||||
.timeline-entry-current::after {
|
||||
inset: -8px -8px -8px -4px;
|
||||
}
|
||||
|
||||
.timeline-entry-current .timeline-marker {
|
||||
animation-name: timeline-status-pulse-sm;
|
||||
}
|
||||
|
||||
.timeline-tldr {
|
||||
padding: 18px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1144,7 +1340,7 @@
|
||||
/* ===== Philosophy ===== */
|
||||
.philosophy-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 24px;
|
||||
margin-top: 32px;
|
||||
}
|
||||
@@ -1187,6 +1383,12 @@
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.philosophy-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.philosophy-grid {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -1347,6 +1549,17 @@
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Wide reading column: same width as the page column. Body steps up to
|
||||
--text-lede so a wider column keeps the 45-80 characters-per-line band. */
|
||||
.prose-wide {
|
||||
max-width: var(--measure-page);
|
||||
}
|
||||
|
||||
.prose-wide p {
|
||||
font-size: var(--text-lede);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Lead paragraph that stands outside a .prose column */
|
||||
.prose-lede {
|
||||
max-width: var(--measure-prose);
|
||||
@@ -1354,9 +1567,14 @@
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
/* A lede that sits next to a wide grid follows the page measure, not the prose measure */
|
||||
.lede-wide {
|
||||
max-width: var(--measure-page);
|
||||
}
|
||||
|
||||
/* Column for blocks that are not prose (grids, tag lists, timelines) */
|
||||
.page-body {
|
||||
max-width: 700px;
|
||||
max-width: var(--measure-page);
|
||||
}
|
||||
|
||||
.subheading {
|
||||
@@ -1364,6 +1582,10 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.philosophy-quote p {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.philosophy-quote + .philosophy-quote {
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
@@ -11,38 +11,36 @@ export function About() {
|
||||
<InView>
|
||||
<section className="section container-wide" aria-labelledby="about-heading">
|
||||
<SectionHeading title={strings.about.heading[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.exploringTitle[lang]}
|
||||
</h3>
|
||||
<div className="interests-list">
|
||||
{profile.currentInterests.map((interest) => (
|
||||
<Tag key={interest} accent>
|
||||
{interest}
|
||||
</Tag>
|
||||
))}
|
||||
</div>
|
||||
<h3 className="subheading">
|
||||
{strings.about.exploringTitle[lang]}
|
||||
</h3>
|
||||
<div className="interests-list">
|
||||
{profile.currentInterests.map((interest) => (
|
||||
<Tag key={interest} accent>
|
||||
{interest}
|
||||
</Tag>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</InView>
|
||||
|
||||
@@ -18,10 +18,7 @@ export function Experience() {
|
||||
viewport={{ once: true, amount: 0.1 }}
|
||||
variants={{
|
||||
hidden: { opacity: 0 },
|
||||
visible: {
|
||||
opacity: 1,
|
||||
transition: { staggerChildren: 0.15 },
|
||||
},
|
||||
visible: { opacity: 1, transition: { duration: 0.5 } },
|
||||
}}
|
||||
>
|
||||
<SectionHeading title={strings.experience.heading[lang]} tag={strings.experience.heading[lang]} />
|
||||
@@ -30,64 +27,37 @@ export function Experience() {
|
||||
{experiences.map((exp, i) => (
|
||||
<motion.div
|
||||
key={exp.id}
|
||||
className="timeline-entry"
|
||||
variants={{
|
||||
hidden: { opacity: 0, y: 30 },
|
||||
visible: {
|
||||
opacity: 1,
|
||||
y: 0,
|
||||
transition: { duration: 0.5, delay: i * 0.15 },
|
||||
},
|
||||
}}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
className={exp.variant ? `timeline-entry timeline-entry-${exp.variant}` : 'timeline-entry'}
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: "easeOut", delay: i * 0.08 }}
|
||||
>
|
||||
<div className="timeline-marker" />
|
||||
<div className="timeline-header">
|
||||
<div className="timeline-title">{useField(exp.title, exp.titleEn)}</div>
|
||||
<div className="timeline-title">
|
||||
{useField(exp.title, exp.titleEn)}
|
||||
</div>
|
||||
<div className="timeline-company">{exp.company}</div>
|
||||
<div className="timeline-duration">{exp.duration}</div>
|
||||
{exp.location && (
|
||||
<div className="timeline-duration">{exp.location}</div>
|
||||
)}
|
||||
<div className="timeline-meta">
|
||||
<span className="timeline-duration">{exp.duration}</span>
|
||||
{exp.location && (
|
||||
<span className="timeline-location">{exp.location}</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<ul className="timeline-responsibilities">
|
||||
{useFieldArray(exp.responsibilities, exp.responsibilitiesEn).map((r) => (
|
||||
<li key={r}>{r}</li>
|
||||
))}
|
||||
</ul>
|
||||
{exp.achievements?.map((achievement) => (
|
||||
<div key={achievement.id} className="achievement">
|
||||
<div className="achievement-title">
|
||||
{achievement.title}
|
||||
</div>
|
||||
<div className="achievement-context">
|
||||
{useField(achievement.context, achievement.contextEn)}
|
||||
</div>
|
||||
<div className="achievement-impact">
|
||||
{useField(achievement.impact, achievement.impactEn)}
|
||||
</div>
|
||||
{achievement.metrics &&
|
||||
achievement.metrics.length > 0 && (
|
||||
<div className="achievement-metrics">
|
||||
{achievement.metrics.map((m) => (
|
||||
<span key={m} className="achievement-metric">
|
||||
{m}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
<div className="achievement-techs">
|
||||
{achievement.technologies.map((tech) => (
|
||||
<span key={tech} className="tag">
|
||||
{tech}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</motion.div>
|
||||
))}
|
||||
<div className="timeline-tldr">
|
||||
<span className="timeline-tldr-marker" aria-hidden="true" />
|
||||
<span className="timeline-tldr-chip">{strings.experience.tldr[lang]}</span>
|
||||
<p className="timeline-tldr-text">{strings.experience.tldrText[lang]}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
|
||||
+60
-67
@@ -2,11 +2,41 @@ import type { ExperienceEntry } from "@/types";
|
||||
|
||||
export const experiences: ExperienceEntry[] = [
|
||||
{
|
||||
id: "senior-swe",
|
||||
id: "open-to-work",
|
||||
variant: "current",
|
||||
title: "Đang tìm nơi làm việc mới",
|
||||
titleEn: "Seeking a New Place",
|
||||
company: "Open to new opportunities",
|
||||
duration: "Nov 2026 – Present",
|
||||
responsibilities: [
|
||||
"Sẵn sàng cho vai trò Senior Engineering: system architecture, integration platform, full-stack delivery",
|
||||
],
|
||||
responsibilitiesEn: [
|
||||
"Open to Senior Engineering roles: system architecture, integration platforms, full-stack delivery",
|
||||
"Available from Nov 2026",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "relax-gap",
|
||||
variant: "gap",
|
||||
title: "Nghỉ ngơi",
|
||||
titleEn: "Relax",
|
||||
company: "Career break",
|
||||
duration: "Aug 2026 – Oct 2026",
|
||||
responsibilities: [
|
||||
"Nghỉ có chủ đích giữa hai vai trò — lấy lại nhịp trước khi nhận hệ thống tiếp theo",
|
||||
"Tự thử nghiệm theo nhịp riêng: local LLM với llama.cpp, đọc về Computer Vision",
|
||||
],
|
||||
responsibilitiesEn: [
|
||||
"Intentional break between roles — recovering the rhythm before the next system",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "lazada-senior-swe",
|
||||
title: "Senior Software Engineer",
|
||||
titleEn: "Senior Software Engineer",
|
||||
company: "Current Company",
|
||||
duration: "2021 – Present",
|
||||
company: "Lazada Tech Hub Vietnam",
|
||||
duration: "Jan 2020 – Aug 2026",
|
||||
location: "Ho Chi Minh City, Vietnam",
|
||||
responsibilities: [
|
||||
"System ownership và architecture design cho logistics integration systems",
|
||||
@@ -22,70 +52,33 @@ export const experiences: ExperienceEntry[] = [
|
||||
"Applied Computer Vision and ML to solve real-world operational problems",
|
||||
"Scrum Master responsibilities — team achieved Scrum Level L3",
|
||||
],
|
||||
achievements: [
|
||||
{
|
||||
id: "iot-dws",
|
||||
title: "IoT-DWS Integration System",
|
||||
titleEn: "IoT-DWS Integration System",
|
||||
context:
|
||||
"Tiếp nhận và nhanh chóng làm chủ hệ thống IoT-DWS sau khi thành viên phụ trách trước đó rời project.",
|
||||
contextEn:
|
||||
"Took over and rapidly mastered the IoT-DWS system after the previous responsible team member left the project.",
|
||||
technicalWork: [
|
||||
"HTTP integration with Signature Header",
|
||||
"HMAC-based request/response security",
|
||||
"RocketMQ integration",
|
||||
"HTTP engine development",
|
||||
"Integration with DWS machines",
|
||||
],
|
||||
impact: "Giải pháp DWS integration được triển khai cho 16 sortations",
|
||||
impactEn: "DWS integration solution deployed across 16 sortations",
|
||||
metrics: ["16 sortations deployed"],
|
||||
technologies: ["Java", "HTTP", "HMAC", "RocketMQ", "DWS"],
|
||||
featured: true,
|
||||
},
|
||||
{
|
||||
id: "awb-detection",
|
||||
title: "AWB Detection / Computer Vision",
|
||||
titleEn: "AWB Detection / Computer Vision",
|
||||
context:
|
||||
"Tự động phát hiện shipping label / AWB từ hình ảnh được camera trên sortation machine chụp.",
|
||||
contextEn:
|
||||
"Automatically detect shipping labels / AWB from images captured by cameras on sortation machines.",
|
||||
technicalWork: [
|
||||
"OpenCV image preprocessing",
|
||||
"YOLO-based object detection",
|
||||
"Oriented Bounding Box (OBB)",
|
||||
"ONNX model inference",
|
||||
"OCR pipeline",
|
||||
],
|
||||
impact:
|
||||
"Model được fine-tune cho bài toán AWB detection, xử lý white label trên white package",
|
||||
impactEn:
|
||||
"Model fine-tuned for AWB detection, handling white label on white package",
|
||||
metrics: ["70,000 images/month processed"],
|
||||
technologies: ["Python", "OpenCV", "YOLO", "ONNX", "OCR"],
|
||||
featured: true,
|
||||
},
|
||||
{
|
||||
id: "system-maintenance",
|
||||
title: "System Maintenance & Optimization",
|
||||
titleEn: "System Maintenance & Optimization",
|
||||
context:
|
||||
"Duy trì và hiện đại hóa hệ thống production theo yêu cầu của security/infrastructure team.",
|
||||
contextEn:
|
||||
"Maintained and modernized production systems per security/infrastructure team requirements.",
|
||||
technicalWork: [
|
||||
"Migration to newer middleware versions",
|
||||
"OSS cleanup and duplicate image removal",
|
||||
"System maintenance automation",
|
||||
],
|
||||
impact: "Giảm OSS storage khoảng 7 GB/month",
|
||||
impactEn: "Reduced OSS storage by approximately 7 GB/month",
|
||||
metrics: ["7 GB/month reduction", "70,000 images/month"],
|
||||
technologies: ["Docker", "Linux", "OSS", "CI/CD"],
|
||||
featured: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "nexts-founder",
|
||||
title: "Người sáng lập",
|
||||
titleEn: "CTO & Founder",
|
||||
company: "Nexts Limited Company",
|
||||
duration: "06/2019 – 12/2019",
|
||||
location: "Ho Chi Minh City, Vietnam",
|
||||
responsibilities: [
|
||||
"Phát triển giải pháp cho xe tự hành, thu thập dữ liệu thời gian thực từ cảm biến và hệ thống onboard: LiDAR, camera, GPS, CAN bus.",
|
||||
],
|
||||
responsibilitiesEn: [
|
||||
"Developed a solution for autonomous vehicles to collect real-time data from onboard sensors and systems, including LiDAR, cameras, GPS, and CAN bus.",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "sap-senior-swe",
|
||||
title: "Senior Software Engineer",
|
||||
titleEn: "Senior Software Engineer",
|
||||
company: "SAP Lab Vietnam",
|
||||
duration: "2017 – 12/2019",
|
||||
location: "Ho Chi Minh City, Vietnam",
|
||||
responsibilities: [
|
||||
"Team leader quản lý sản phẩm B1 Integration",
|
||||
],
|
||||
responsibilitiesEn: [
|
||||
"Team leader managing the B1 Integration product",
|
||||
],
|
||||
}
|
||||
];
|
||||
@@ -39,6 +39,11 @@ export const strings = {
|
||||
},
|
||||
experience: {
|
||||
heading: {en: 'Experience', vi: 'Kinh nghiệm'},
|
||||
tldr: {en: 'TL;DR', vi: 'TL;DR'},
|
||||
tldrText: {
|
||||
en: '15 years of experience, more than 5 companies along the way. Too long to tell.',
|
||||
vi: '15 năm kinh nghiệm, hơn 5 công ty đã đi qua. Quá dài để kể hết.'
|
||||
},
|
||||
},
|
||||
projects: {
|
||||
featured: {en: 'Featured Projects', vi: 'Dự án nổi bật'},
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
--text-meta: 15px;
|
||||
--leading-body: 1.65;
|
||||
--measure-prose: 600px;
|
||||
--measure-page: 680px;
|
||||
|
||||
--radius-sm: 4px;
|
||||
--radius-md: 6px;
|
||||
|
||||
+28
-30
@@ -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>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { motion } from 'motion/react'
|
||||
import { SectionHeading } from '@/components/ui/SectionHeading'
|
||||
import { experiences } from '@/data/experience'
|
||||
import { useLanguage } from '@/hooks/useLanguage'
|
||||
@@ -10,49 +11,36 @@ export function ExperiencePage() {
|
||||
<section className="section container-content" aria-labelledby="experience-heading">
|
||||
<SectionHeading title={strings.experience.heading[lang]} tag={strings.common.experienceTag[lang]} />
|
||||
<div className="timeline">
|
||||
{experiences.map((exp) => (
|
||||
<div key={exp.id} className="timeline-entry">
|
||||
{experiences.map((exp, i) => (
|
||||
<motion.div
|
||||
key={exp.id}
|
||||
className={exp.variant ? `timeline-entry timeline-entry-${exp.variant}` : 'timeline-entry'}
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: i * 0.08 }}
|
||||
>
|
||||
<div className="timeline-marker" />
|
||||
<div className="timeline-header">
|
||||
<div className="timeline-title">{useField(exp.title, exp.titleEn)}</div>
|
||||
<div className="timeline-company">{exp.company}</div>
|
||||
<div className="timeline-duration">{exp.duration}</div>
|
||||
{exp.location && (
|
||||
<div className="timeline-duration">{exp.location}</div>
|
||||
)}
|
||||
<div className="timeline-meta">
|
||||
<span className="timeline-duration">{exp.duration}</span>
|
||||
{exp.location && <span className="timeline-location">{exp.location}</span>}
|
||||
</div>
|
||||
</div>
|
||||
<ul className="timeline-responsibilities">
|
||||
{useFieldArray(exp.responsibilities, exp.responsibilitiesEn).map((r) => (
|
||||
<li key={r}>{r}</li>
|
||||
))}
|
||||
</ul>
|
||||
{exp.achievements?.map((achievement) => (
|
||||
<div key={achievement.id} className="achievement">
|
||||
<div className="achievement-title">{achievement.title}</div>
|
||||
<div className="achievement-context">{useField(achievement.context, achievement.contextEn)}</div>
|
||||
<div className="achievement-impact">
|
||||
{useField(achievement.impact, achievement.impactEn)}
|
||||
</div>
|
||||
{achievement.metrics && achievement.metrics.length > 0 && (
|
||||
<div className="achievement-metrics">
|
||||
{achievement.metrics.map((m) => (
|
||||
<span key={m} className="achievement-metric">
|
||||
{m}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
<div className="achievement-techs">
|
||||
{achievement.technologies.map((tech) => (
|
||||
<span key={tech} className="tag">
|
||||
{tech}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
))}
|
||||
<div className="timeline-tldr">
|
||||
<span className="timeline-tldr-marker" aria-hidden="true" />
|
||||
<span className="timeline-tldr-chip">{strings.experience.tldr[lang]}</span>
|
||||
<p className="timeline-tldr-text">{strings.experience.tldrText[lang]}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
|
||||
@@ -8,7 +8,7 @@ export function PhilosophyPage() {
|
||||
return (
|
||||
<section className="section container-content" aria-labelledby="philosophy-heading">
|
||||
<SectionHeading id="philosophy-heading" title={strings.philosophy.heading[lang]} tag={strings.philosophy.heading[lang]}/>
|
||||
<div className="prose">
|
||||
<div className="prose prose-wide">
|
||||
{strings.philosophy.quotes.map((quote) => (
|
||||
<div key={quote.title[lang]} className="philosophy-quote">
|
||||
<h3>
|
||||
|
||||
@@ -47,6 +47,7 @@ export interface ExperienceEntry {
|
||||
responsibilities: string[];
|
||||
responsibilitiesEn?: string[];
|
||||
achievements?: FeaturedAchievement[];
|
||||
variant?: 'current' | 'gap';
|
||||
}
|
||||
|
||||
export interface FeaturedAchievement {
|
||||
|
||||
Reference in new issue
Block a user