Commit Graph
164 Commits
Author SHA1 Message Date
dong.nguyen 41b40653c7 updated resume pdf generation 2026-10-15 15:00:22 +07:00
dong.nguyen 0e34db7964 updated philosophy 2026-10-15 01:23:33 +07:00
dong.nguyen da320284a5 fixed contact page 2026-10-15 01:15:09 +07:00
dong.nguyen 0d6890d1b9 updated rules in AGENTS.md 2026-10-15 00:18:34 +07:00
dong.nguyen 0718151c42 fixed resume photo 2026-10-14 23:46:11 +07:00
dong.nguyen 71bf3fe090 fixed name in resume pdf 2026-10-14 23:34:50 +07:00
dong.nguyen 67255173f8 updated navigation 2026-10-14 23:11:36 +07:00
dong.nguyen 5159607702 fixed hero background 2026-10-14 20:28:13 +07:00
dong.nguyen b6c96fe16a updated download button 2026-10-14 19:56:02 +07:00
dong.nguyen 16925dc5d6 changed hero button 2026-10-14 19:37:10 +07:00
dong.nguyen 4996a91a77 fix(i18n): complete phase 1 - translate section tags, replace lang checks, dedup download component
- Replace hardcoded SectionHeading tags with i18n strings (7 files)
- Replace 17 lang === 'vi' checks with useField/useFieldArray hooks
- Extract shared DownloadResumeDropdown component (Hero + DownloadResume)
- Move langLabels to src/data/resume.ts as resumeLanguageLabels
- Update feedback docs with resolution status
2026-10-14 14:50:27 +07:00
dong.nguyen 72a832c781 support multi languages 2026-10-14 11:15:48 +07:00
dong.nguyen ca8ff2f983 docs: update AGENTS.md to reflect current project state
- Add motion, playwright, tsx to Tech Stack
- Add build:resume/build:resume-all commands
- Update theming: remove system variant, document resolvedTheme
- Add resume.ts to Data Layer
- Add new components (HeroParticles, DownloadResume, Typewriter, AnimatedSection, InView, RollingTextLink, BackToTop)
- Add useClickOutside hook
- Add Motion & Animation section
- Add External Assets section
- Add Scripts section
- Add nginx.conf and docker-compose.yaml to Deployment
- Remove obsolete system theme gotchas
- Add motion/react import gotcha
- Add v3 specs to Design Specs
2026-10-13 16:45:54 +07:00
dong.nguyen b58e3ce306 fixed theme switch 2026-10-13 15:57:16 +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 3d28d8523b update project rules prompt description 2026-10-13 13:58:43 +07:00
dong.nguyen 6e221856a9 remove opacity effect for hero section 2026-10-13 13:30:39 +07:00
dong.nguyen 437c996002 fix scroll indicator for mobile screen 2026-10-13 13:21:29 +07:00
dong.nguyen 21311d311d feat: add lazer border effect to download resume buttons
- Add rotating conic gradient border animation using pure CSS
- Apply to both Hero section dropdown and Contact section dropdown
- Shared wrapper for proper positioning context
- Flex layout for correct height calculation
- Respects prefers-reduced-motion
2026-10-13 13:10:56 +07:00
dong.nguyen f1d249061e fix scroll indicator and download button 2026-10-13 10:22:10 +07:00
dong.nguyen a783791513 fix social link border color in light mode 2026-10-13 01:01:09 +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 c5a94ce5c9 enhanced mobile screen 2026-10-12 17:50:51 +07:00
dong.nguyen e60179c8eb fix(hero): add gap between mobile download buttons
- Add flex layout with 16px gap to hero-download-mobile and download-resume-mobile
- Remove inline style, use CSS only
2026-10-12 16:19:55 +07:00
dong.nguyen 20dfbe9125 fix(hero): improve mobile text readability
- Increase overlay opacity from 0.55 to 0.75
- Use brighter text colors on mobile: #ffffff for name, #e0e0e0 for title/tagline
2026-10-12 16:06:31 +07:00
dong.nguyen 76679922fe fix(resume): match dropdown summary to btn-secondary style
- Update .download-resume-summary to use same CSS as btn-secondary
- Remove hero-specific font-size overrides
- Consistent look with View Projects and Contact Me buttons
2026-10-12 16:00:57 +07:00
dong.nguyen cb50bb2cb4 docs: add rule 6 — never auto-commit or auto-push without approval 2026-10-12 15:44:56 +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 c8f86aea90 feat(resume): add dropdown for download on desktop, 2 buttons on mobile
- DownloadResume: single dropdown button on desktop (≥769px),
  2 separate buttons on mobile (<769px)
- Hero CTA: same pattern — dropdown on desktop, 2 buttons on mobile
- Use native <details>/<summary> for dropdown — no React state needed
- CSS: dropdown with chevron animation, hover states, breakpoint-based
  visibility toggle
- Mobile: keep existing 2-button layout with language labels
2026-10-12 15:31:28 +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 1f20f36180 fix action version 2026-10-12 14:56:48 +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 459781d251 updated docu 2026-10-10 14:14:05 +07:00
dong.nguyen ef3977f4be updated docu 2026-10-10 14:02:47 +07:00
dong.nguyen adbe4aeff2 clean code 2026-10-10 13:38:22 +07:00
dong.nguyen 985ad84421 debug rsync 2026-10-10 13:33:15 +07:00
dong.nguyen dd88b4dfe7 test vps deployment 2026-10-10 13:26:56 +07:00
dong.nguyen 6bd11a3d05 test vps deployment 2026-10-10 13:23:17 +07:00
dong.nguyen 1e747b5cb2 test vps deployment 2026-10-10 13:04:59 +07:00
dong.nguyen 23298138e7 list files in /dist 2026-10-10 12:12:30 +07:00
dong.nguyen 98a20db698 list dist 2026-10-10 12:11:34 +07:00
dong.nguyen 410874aedf build 2026-10-10 12:05:08 +07:00
dong.nguyen e5adf73c3a test cache 2026-10-10 12:01:06 +07:00
dong.nguyen 9b5af6c759 test cache 2026-10-10 09:21:54 +07:00
dong.nguyen 82f7cee0b2 added cache for pnpm setup 2026-10-10 08:41:55 +07:00
dong.nguyen a14af1c645 updated script 2026-10-10 00:36:46 +07:00