Files
cv/docs/design/specs/ui/spec-ui-footer.md
T
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

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-label vớ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