Skip to content

[Phase 03] Header: nav, dropdowns, theme toggle, mobile #855

Description

@ashleyshaw

Phase 03 — Header component

Implements the full site header: sticky nav bar, Browse + Resources dropdowns,
theme toggle (single icon — moon/sun), search trigger pill, mobile header with
3 icons (theme + search + burger), and the right-side slide-in drawer.

Deliverables

  • src/components/Header.astro — full header markup + scoped styles
  • src/scripts/header.js — burger, drawer, dropdowns, theme toggle, scroll-shrink
  • src/scripts/theme-toggle.js — theme init + toggle logic
  • Header wired into BaseLayout.astro
  • Mobile: theme icon + search icon + burger (all three visible ≤1024px)
  • Theme toggle: one icon only — moon (light) or sun (dark), never both
  • Brand icon swaps Blue.svg ↔ Light-Blue.svg with theme (CSS-only, no JS)
  • Scroll-shrink: nav reduces to 52px height after 60px scroll
  • All tokens correct per AWESOME_GITHUB_THEME_TOKENS_SPEC.md §3.2

Spec: CLAUDE_CODE_HEADER_FOOTER_SPEC.md, CLAUDE_CODE_HEADER_V2_SPEC.md

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions