Commit Graph
65 Commits
Author SHA1 Message Date
dong.nguyen 41b40653c7 updated resume pdf generation 2026-10-15 15:00:22 +07:00
dong.nguyen 67255173f8 updated navigation 2026-10-14 23:11:36 +07:00
dong.nguyen 72a832c781 support multi languages 2026-10-14 11:15:48 +07:00
dong.nguyen 58941f6001 fix(theme): simplify theme cycle to dark/light and improve initial load
- Remove 'system' from Theme type (now 'dark' | 'light')
- Fix cycle to predictable dark -> light -> dark -> light
- Replace getStoredTheme with getInitialTheme
- Initial load: check localStorage, detect system theme, fallback dark
- Simplify resolveTheme (no longer needs system branch)
- Remove unused getSystemTheme function
- Add spec-v3-theme-switch.md
2026-10-13 14:56:20 +07:00
dong.nguyen cce04a6e78 feat(theme): improve dark theme palette and soften light theme
- Dark theme: shift from near-black (#0a0a0a) to deep slate (#0f1117)
- Dark theme: softer text colors for reduced eye strain
- Dark theme: add missing --error variable to default :root
- Light theme: soften from pure white to off-white (#ececee)
- Light theme: add contrast to --bg-surface (#e0e0e3)
- Remove gradient background (caused flicker on scroll)
- Add position: relative to .hero for stacking context
- Update spec-v3-theme-colors.md with correct implementation
2026-10-13 14:28:22 +07:00
dong.nguyen dd22f3be3a feat(ui): v3 enhancements - hero photo, particles, mobile responsive
- Hero photo: circular shape, object-position center top, transparent background
- Hero particles: bigger (6-16px), more visible (opacity 0.8)
- Mobile: hide hero photo, transparent hero content, fix text/social link colors
- Mobile social links: darker border in light mode
- Update spec docs and all section components for v3 UI
2026-10-13 00:24:12 +07:00
dong.nguyen a303d98e41 docs: add v3 UI enhancements spec with implementation tracking 2026-10-12 18:06:04 +07:00
dong.nguyen 6b5c03e47a docs: clean up resume PDF specs - remove deferred items
- spec-v2-resume-future.md: v0.3.0 - only keep Version Stamping and
 Multiple Language Versions, mark both as implemented
- spec-v2-resume-playwright.md: v0.6.0 - remove Future Enhancements
 table, mark Download Resume UI as implemented
2026-10-12 15:40:57 +07:00
dong.nguyen 1b5c55fbaf docs: update resume PDF specs — add Download Resume UI and mark items implemented
- Add Download Resume UI spec: single button with dropdown on desktop,
  2 separate buttons on mobile (≥769px breakpoint)
- Mark Version Stamping and Multiple Language Versions as implemented
  in both spec files
- Add implementation details for version stamping and i18n in future spec
- Future spec version 0.2.0 — Partial (2/4 implemented)
2026-10-12 15:23:23 +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 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 aa30aed903 feat: homepage enhancements - mobile padding, scroll animations, parallax, background gradient
- Fix mobile padding: add media queries for container and hero-content padding
- Add InView wrapper to Hero and About for scroll-triggered animations
- Add Hero parallax effect: photo moves on scroll, content fades out
- Add section background gradient for smooth visual flow between sections
- Unify section containers to container-wide for title alignment
- Add maxWidth wrappers for text-heavy sections (About, Experience, Contact)
- Replace OpenToWorkBadge with RollingTextLink component
- Update nav router links and profile data
- Add spec docs for v2 homepage enhancements and nav rolling text
2026-10-06 23:42:49 +07:00
dong.nguyen 1800fa7ceb added animation for home page 2026-10-06 19:29:13 +07:00
dong.nguyen 531c70e13a feat: hero photo background, Open to Work badge, contact section, resume download 2026-10-06 15:49:10 +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