mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
feat(resume): add version stamping and bilingual EN/VN PDF support
- Add version stamp footer 'Last updated: YYYY-MM-DD' to PDF - Implement bilingual support (English + Vietnamese) for resume PDF - Add Language type and *En optional fields to types - Add Vietnamese translations to profile, experience, projects data - resolveField utility for language-aware field resolution - Language-specific section labels (Experience/Kinh nghiệm, etc.) - --lang CLI arg: 'en' (default) or 'vi' - Output: resume.pdf (EN), resume-vi.pdf (VI) - Update CI workflow to generate and deploy both PDF versions - Add build:resume-all npm script - Update UI components (Hero, DownloadResume) for language selection - Add spec-v2-resume-future.md for deferred enhancements - Refactor spec-v2-resume-playwright.md (condense implementation notes)
This commit is contained in:
1 parent
26af25a39d
commit
0297c18bad
15 files changed
+395
-301
No files matched your search
@@ -1 +1,8 @@
|
||||
import type { Language } from '@/types'
|
||||
|
||||
export const resumeAvailable = true
|
||||
|
||||
export const resumeLanguages: Language[] = ['en', 'vi']
|
||||
|
||||
export const resumeUrlFor = (lang: Language): string =>
|
||||
lang === 'en' ? '/resume.pdf' : `/resume-${lang}.pdf`
|
||||
Reference in new issue
Block a user