mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
resume: rename EN output to resume-en.pdf, show bare filenames in the dialog (spec-v3 follow-up 24)
This commit is contained in:
1 parent
61a01e25ca
commit
33fa6ebefd
6 files changed
+11
-10
No files matched your search
+3
-2
@@ -15,5 +15,6 @@ export const resumeQr: { id: string; file: string; label: string }[] = [
|
||||
{ id: 'zalo', file: 'zalo.jpg', label: 'Zalo' },
|
||||
]
|
||||
|
||||
export const resumeUrlFor = (lang: Language): string =>
|
||||
lang === 'en' ? '/resume.pdf' : `/resume-${lang}.pdf`
|
||||
export const resumeFileNameFor = (lang: Language): string => `resume-${lang}.pdf`
|
||||
|
||||
export const resumeUrlFor = (lang: Language): string => `/${resumeFileNameFor(lang)}`
|
||||
Reference in new issue
Block a user