mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
index.html advertised nothing: no title, no description, no Open Graph, no canonical. The head now carries both theme-color values, an OG block with an absolute 1200x1600 image, a Twitter card and a Person JSON-LD block with sameAs and a PostalAddress. src/data/site.ts holds the canonical origin; generate-sitemap.ts writes dist/sitemap.xml from navPaths plus the project list (10 urls) and fails the build if dist/index.html no longer contains siteUrl, because an HTML head cannot import TypeScript and the origin is therefore written twice by hand. Chained into pnpm build so dist/ is complete before the deploy workflow uploads it.
91 lines
3.8 KiB
HTML
91 lines
3.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Nguyễn Đông — Senior Software Engineer</title>
|
|
<meta
|
|
name="description"
|
|
content="Portfolio of Nguyễn Đông, a Senior Software Engineer in Ho Chi Minh City working on distributed systems, logistics automation, computer vision and practical AI in Java, Go and TypeScript."
|
|
/>
|
|
<meta name="author" content="Nguyễn Đông" />
|
|
<meta name="robots" content="index, follow" />
|
|
<link rel="canonical" href="https://cv.vugado.com/" />
|
|
<meta name="theme-color" content="#151914" media="(prefers-color-scheme: dark)" />
|
|
<meta name="theme-color" content="#f6f5f2" media="(prefers-color-scheme: light)" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:site_name" content="Nguyễn Đông — Senior Software Engineer" />
|
|
<meta property="og:title" content="Nguyễn Đông — Senior Software Engineer" />
|
|
<meta
|
|
property="og:description"
|
|
content="Distributed systems, logistics automation, computer vision and practical AI — SAP Lab Vietnam, Lazada, and a logistics digital-twin platform."
|
|
/>
|
|
<meta property="og:url" content="https://cv.vugado.com/" />
|
|
<meta property="og:locale" content="en_US" />
|
|
<meta property="og:locale:alternate" content="vi_VN" />
|
|
<meta property="og:image" content="https://cv.vugado.com/profile-photo.webp" />
|
|
<meta property="og:image:width" content="1200" />
|
|
<meta property="og:image:height" content="1600" />
|
|
<meta property="og:image:alt" content="Portrait of Nguyễn Đông" />
|
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="Nguyễn Đông — Senior Software Engineer" />
|
|
<meta
|
|
name="twitter:description"
|
|
content="Distributed systems, logistics automation, computer vision and practical AI — SAP Lab Vietnam, Lazada, and a logistics digital-twin platform."
|
|
/>
|
|
<meta name="twitter:image" content="https://cv.vugado.com/profile-photo.webp" />
|
|
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "Person",
|
|
"name": "Nguyễn Đông",
|
|
"alternateName": "Dong Nguyen",
|
|
"jobTitle": "Senior Software Engineer",
|
|
"url": "https://cv.vugado.com/",
|
|
"email": "mailto:nguyendong_bkdn@yahoo.com",
|
|
"image": "https://cv.vugado.com/profile-photo.webp",
|
|
"sameAs": [
|
|
"https://github.com/dong-nz",
|
|
"https://www.linkedin.com/in/dong-nz"
|
|
],
|
|
"knowsAbout": [
|
|
"Distributed systems",
|
|
"System architecture",
|
|
"Computer vision",
|
|
"AI / ML applications"
|
|
],
|
|
"address": {
|
|
"@type": "PostalAddress",
|
|
"addressLocality": "Ho Chi Minh City",
|
|
"addressCountry": "VN"
|
|
}
|
|
}
|
|
</script>
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var stored = localStorage.getItem('portfolio-theme')
|
|
var theme = stored === 'dark' || stored === 'light'
|
|
? stored
|
|
: (window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark')
|
|
var storedPalette = localStorage.getItem('portfolio-palette')
|
|
document.documentElement.setAttribute('data-theme', theme)
|
|
document.documentElement.setAttribute('data-palette', storedPalette === 'blue' ? 'blue' : 'red')
|
|
} catch (e) {
|
|
document.documentElement.setAttribute('data-theme', 'dark')
|
|
document.documentElement.setAttribute('data-palette', 'red')
|
|
}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|