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
This commit is contained in:
dong.nguyen committed 2026-10-06 14:14:01 +07:00
1 parent 02bad6036d
commit d827bf9b23
37 files changed
+770 -443

No files matched your search

+105
View File
@@ -0,0 +1,105 @@
# UI Spec — Engineering Section
## Overview
Section giới thiệu các lĩnh vực engineering focus: Architecture, AI/ML, Experiments.
---
## Structure
```
EngineeringSection
├── SectionHeading ("Engineering")
├── Tabs or SubSections
│ ├── Architecture
│ ├── AI / ML
│ └── Experiments
└── ContentBlocks (×N)
├── Title
├── Description
└── RelatedProjects (links)
```
---
## Content
### Architecture
- System design, distributed systems, integration architecture
- Link to relevant projects
### AI / ML
- Computer Vision, Object Detection, OCR, YOLO, ONNX, LLM
- Link to relevant projects
- Not an AI portfolio — frame as "applying AI to real problems"
### Experiments
- Local LLM, MoE, llama.cpp, GPU optimization
- Performance tracing, benchmarking
- Engineering experiments blog posts
---
## Layout
### Desktop
- Tab navigation hoặc sequential sections
- Each tab/section: max-width 800px
- Content: text + related project cards
### Mobile
- Accordion-style sections (expand/collapse)
- Single column
- Smaller font sizes
---
## Typography
| Element | Size | Weight |
|---|---|---|
| Section heading (H2) | 40px / 32px mobile | 600 |
| Tab/Section title (H3) | 24px | 500 |
| Description | 16px | 400 |
| Related project link | 14px | 500 |
---
## Accessibility
- H2 section, H3 subsections
- Tabs: `role="tablist"`, `role="tab"`, `role="tabpanel"`
- Keyboard: arrow keys for tabs, Enter to activate
- Screen reader: active tab announced
---
## Animation
- Tab content fade-in (200ms)
- Accordion: smooth height transition (300ms)
---
## State
| State | Description |
|---|---|
| Default | First tab/section active |
| Tab active | Accent underline, content visible |
| Accordion open | Expanded content |
| Reduced motion | Disable transitions |
---
## Constraints
- Data-driven từ `projects.ts` (filter by category)
- Tab state in URL (`?tab=ai-ml`)
- Shareable URLs