style(ui): finish v3 typography sweep - inline type styles to classes

PhilosophyPage: prose column, paragraph spacing, no nested <p>, aria-labelledby wired to a real SectionHeading id.

About/AboutPage, ProjectDetailPage, Experience/ExperiencePage, Contact/ContactPage, Projects, DownloadResume: inline fontSize/lineHeight/fontWeight/color/maxWidth replaced by .prose, .prose-lede, .page-body, .subheading, .project-section, .back-link, .section-cta, .link-label, .contact-link-sub, .achievement-impact, .achievement-metrics.

App.css: add .download-resume-button as a variant of .contact-link. index.css: drop leftover .container-narrow from two responsive selector lists. Delete dead ui/Card.tsx and its barrel export.

Specs: typography progress marked done with the verification log; .skip-link orphan closed in both v3 specs (strings.skipLink is gone too).

tsc -b exit 0; vite build 538 modules / 24.86 kB CSS; built CSS carries every new class and none of the deleted selectors; oxlint diagnostics identical to HEAD (15 errors / 9 warnings, all pre-existing).
This commit is contained in:
dong.nguyen committed 2026-10-16 21:29:40 +07:00
1 parent c1e64eabbd
commit d172843738
16 files changed
+103 -140

No files matched your search

+4 -4
View File
@@ -18,12 +18,12 @@ export function AboutPage() {
subtitle={strings.about.subtitle[lang]}
tag={strings.about.heading[lang]}
/>
<div style={{ maxWidth: '700px' }}>
<p style={{ fontSize: '18px', marginBottom: '32px' }}>
<div className="page-body">
<p className="prose-lede">
{useField(profile.bio, profile.bioEn)}
</p>
<h3 style={{ fontSize: '20px', marginBottom: '16px', color: 'var(--text-primary)' }}>
<h3 className="subheading">
{strings.about.engineeringTitle[lang]}
</h3>
<div className="philosophy-grid">
@@ -40,7 +40,7 @@ export function AboutPage() {
))}
</div>
<h3 style={{ fontSize: '20px', marginTop: '32px', marginBottom: '12px', color: 'var(--text-primary)' }}>
<h3 className="subheading">
{strings.about.exploringTitlePage[lang]}
</h3>
<div className="interests-list">