mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
- 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
1.4 KiB
1.4 KiB
UI Spec — Footer
Overview
Footer đơn giản ở cuối mỗi trang. Chứa copyright, social links, nav links.
Structure
Footer
├── Container (max-width, centered)
├── FooterContent
│ ├── Copyright
│ ├── NavLinks
│ │ ├── Home
│ │ ├── About
│ │ ├── Projects
│ │ └── Contact
│ └── SocialLinks
│ ├── GitHub
│ ├── LinkedIn
│ └── Email
└── BackToTop (optional)
Content
| Element | Value |
|---|---|
| Copyright | © {year} {name}. All rights reserved. |
| Nav links | Home, About, Projects, Contact |
| Social links | GitHub, LinkedIn, Email |
Layout
Desktop
- Single row or 2-row layout
- Copyright left, links center, social right
- Or: centered single row
Mobile
- Centered, stacked
- Social links: row
Typography
| Element | Size | Weight |
|---|---|---|
| Copyright | 14px | 400 |
| Nav link | 14px | 400 |
| Social label | 14px | 400 |
Accessibility
role="contentinfo"- Semantic
<footer>element - Links:
aria-labelvới platform name - Back to top:
aria-label="Back to top"
State
| State | Description |
|---|---|
| Default | Normal render |
| Hover | Link color change |
| Focus | Visible outline |
Constraints
- Minimal, non-distracting
- Not more prominent than main content
- Copyright year auto-update