fixed name in resume pdf

This commit is contained in:
dong.nguyen committed 2026-10-14 23:34:50 +07:00
1 parent 67255173f8
commit 71bf3fe090
2 files changed
+3 -9

No files matched your search

+3 -3
View File
@@ -139,13 +139,13 @@ function renderProjects(projs: typeof projects): string {
// --- Assemble HTML ---
const html = template
.replace('{{NAME}}', profile.name)
.replace('{{NAME}}', resolveField(profile.nameEn, profile.name))
.replace('{{TITLE}}', resolveField(profile.titleEn, profile.title))
.replace('{{TAGLINE}}', resolveField(profile.taglineEn, profile.tagline))
.replace('{{BIO}}', resolveField(profile.bioEn, profile.bio))
.replace('{{EMAIL}}', profile.email)
.replace('{{GITHUB}}', profile.githubUrl.replace('https://', 'github.com/'))
.replace('{{LINKEDIN}}', profile.linkedinUrl.replace('https://', 'linkedin.com/in/'))
.replace('{{GITHUB}}', profile.githubUrl)
.replace('{{LINKEDIN}}', profile.linkedinUrl)
.replace('{{PHOTO_BASE64}}', photoBase64)
.replace('{{FONT_FACES}}', fontFaces)
.replace('{{UPDATED_DATE}}', updatedDate)
-6
View File
@@ -1,5 +1,3 @@
import { useLanguage } from '@/hooks/useLanguage'
import { strings } from '@/i18n/strings'
import {Navigation} from './Navigation'
import {BackToTop} from '@/components/ui/BackToTop'
import {Footer} from './Footer'
@@ -9,12 +7,8 @@ interface LayoutProps {
}
export function Layout({ children }: LayoutProps) {
const { lang } = useLanguage()
return (
<>
<a href="#main-content" className="skip-link">
{strings.common.skipLink[lang]}
</a>
<Navigation />
<main id="main-content" style={{ flex: 1 }}>
{children}