mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
fixed name in resume pdf
This commit is contained in:
1 parent
67255173f8
commit
71bf3fe090
2 files changed
+6
-12
No files matched your search
@@ -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)
|
||||
|
||||
@@ -1,20 +1,14 @@
|
||||
import { useLanguage } from '@/hooks/useLanguage'
|
||||
import { strings } from '@/i18n/strings'
|
||||
import { Navigation } from './Navigation'
|
||||
import { BackToTop } from '@/components/ui/BackToTop'
|
||||
import { Footer } from './Footer'
|
||||
import {Navigation} from './Navigation'
|
||||
import {BackToTop} from '@/components/ui/BackToTop'
|
||||
import {Footer} from './Footer'
|
||||
|
||||
interface LayoutProps {
|
||||
children?: React.ReactNode
|
||||
}
|
||||
|
||||
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}
|
||||
|
||||
Reference in new issue
Block a user