Commit Graph
11 Commits
Author SHA1 Message Date
dong.nguyen 0c4aea32b5 feat(seo): real metadata, JSON-LD, robots.txt and a build-time sitemap
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.
2026-10-18 23:45:39 +07:00
dong.nguyen 41b40653c7 updated resume pdf generation 2026-10-15 15:00:22 +07:00
dong.nguyen 0297c18bad 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)
2026-10-12 14:50:17 +07:00
dong.nguyen 26af25a39d feat(resume): Phase 2 CI integration for PDF generation
- Split deploy.yml into 3 jobs: build, generate-resume, deploy
- generate-resume job: Playwright cache, chromium install, PDF generation
- deploy job: download both static-site and resume-pdf artifacts
- Add build:resume convenience script in package.json
- Artifact retention: site 5 days, PDF 30 days
2026-10-11 00:55:00 +07:00
dong.nguyen d6ef0bd93f feat(resume): Phase 1 PDF generation with Playwright
- Add playwright and tsx as devDependencies
- Create scripts/generate-resume.ts (build script)
- Create public/resume-template.html (A4 layout, embedded fonts)
- Download Inter fonts (4 weights: Regular, Medium, SemiBold, Bold)
- Update src/data/resume.ts (hardcoded resumeAvailable)
- Update spec-v2.md overview table
- Add spec-v2-resume-playwright.md (Phase 1+2 spec)
- Add spec-v2-resume-puppeteer.md (alternative spec)
- Add pnpm-workspace.yaml (allow esbuild builds)
2026-10-11 00:53:10 +07:00
dong.nguyen 82f7cee0b2 added cache for pnpm setup 2026-10-10 08:41:55 +07:00
dong.nguyen 0658eb3b3b added gited action 2026-10-10 00:17:29 +07:00
dong.nguyen 1800fa7ceb added animation for home page 2026-10-06 19:29:13 +07:00
dong.nguyen d827bf9b23 feat: resume download, router v7/v8 migrations, spec restructure
- Add resume download button in Hero CTA and Contact section
- Migrate react-router v6→v7 and v7→v8
- Restructure specs: UI specs to specs/ui/, v2 specs to specs/v2/
- Add profile-photo assets (jpg + webp)
- Update AGENTS.md, spec-v2.md index
2026-10-06 14:14:01 +07:00
dong.nguyen 7e42bd8017 feat: personal engineering portfolio with routing, theme toggle, and responsive design
- React + TypeScript + Vite + React Router v6
- Dark/light/system theme toggle (fixed cycle from 'system' state)
- Multi-page SPA: Home, About, Experience, Projects, Engineering, Contact
- Responsive layout with mobile menu
- Data-driven sections (profile, skills, experience, projects)
- CSS Modules-compatible with CSS variables for theming
- Accessibility: skip-link, ARIA labels, keyboard navigation
2026-10-06 11:42:11 +07:00
dong.nguyen 519d48ddae init code 2026-10-04 09:34:55 +07:00