🧠 Context
src/components/Header.tsx renders the top navigation bar with two <NavLink> items: Explorer and Planner. They're currently text-only. Adding icons from lucide-react makes the nav more visually distinct.
lucide-react is not yet installed — you'll need to add it.
🛠️ Implementation Plan
-
Install lucide-react by running pnpm add lucide-react. This project has security settings in pnpm-workspace.yaml — if the install is blocked by a policy error, flag it to Jacc first.
-
Open src/components/Header.tsx and import appropriate icons. Suggested icons:
- Explorer:
Network (represents a graph/node structure)
- Planner:
CalendarDays (represents term-by-term planning)
Feel free to browse lucide.dev if you'd prefer different icons, just keep them intuitive.
-
Render each icon inline with its label inside the <NavLink>, aligned horizontally with a small gap between the icon and text.
-
Run pnpm dev and verify both links show their icons, the active-state colour (text-red-600) applies to both icon and text, and the layout looks correct.
✅ Acceptance Criteria
🧠 Context
src/components/Header.tsxrenders the top navigation bar with two<NavLink>items: Explorer and Planner. They're currently text-only. Adding icons fromlucide-reactmakes the nav more visually distinct.lucide-reactis not yet installed — you'll need to add it.🛠️ Implementation Plan
Install
lucide-reactby runningpnpm add lucide-react. This project has security settings inpnpm-workspace.yaml— if the install is blocked by a policy error, flag it to Jacc first.Open
src/components/Header.tsxand import appropriate icons. Suggested icons:Network(represents a graph/node structure)CalendarDays(represents term-by-term planning)Feel free to browse lucide.dev if you'd prefer different icons, just keep them intuitive.
Render each icon inline with its label inside the
<NavLink>, aligned horizontally with a small gap between the icon and text.Run
pnpm devand verify both links show their icons, the active-state colour (text-red-600) applies to both icon and text, and the layout looks correct.✅ Acceptance Criteria
pnpm typecheckandpnpm teststill pass