fix(i18n): complete phase 1 - translate section tags, replace lang checks, dedup download component

- Replace hardcoded SectionHeading tags with i18n strings (7 files)
- Replace 17 lang === 'vi' checks with useField/useFieldArray hooks
- Extract shared DownloadResumeDropdown component (Hero + DownloadResume)
- Move langLabels to src/data/resume.ts as resumeLanguageLabels
- Update feedback docs with resolution status
This commit is contained in:
dong.nguyen committed 2026-10-14 14:50:27 +07:00
1 parent 72a832c781
commit 4996a91a77
15 files changed
+489 -158

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ export function AboutPage() {
<SectionHeading
title={strings.about.heading[lang]}
subtitle={strings.about.subtitle[lang]}
tag="About"
tag={strings.about.heading[lang]}
/>
<div style={{ maxWidth: '700px' }}>
<p style={{ fontSize: '18px', marginBottom: '32px' }}>
@@ -59,7 +59,7 @@ export function AboutPage() {
<div className="expertise-grid">
{skillGroups.map((group) => (
<div key={group.title} className="expertise-card">
<h3>{lang === 'vi' ? group.title : group.titleEn}</h3>
<h3>{useField(group.title, group.titleEn)}</h3>
<ul className="expertise-skills">
{group.skills.map((skill: string) => (
<li key={skill} className="expertise-skill">