---
id: T01
parent: S04
milestone: M016
provides: []
requires: []
affects: []
key_files: ["frontend/src/pages/TechniquePage.tsx", "frontend/src/components/TableOfContents.tsx", "frontend/src/App.css"]
key_decisions: ["ToC only renders in sidebar for v2-format pages; v1 pages have no ToC at all"]
patterns_established: []
drill_down_paths: []
observability_surfaces: []
duration: ""
verification_result: "Production build passes cleanly: `cd frontend && npm run build` — 57 modules transformed, zero errors, zero warnings."
completed_at: 2026-04-03T05:52:44.616Z
blocker_discovered: false
---

# T01: Moved Table of Contents from main prose column to sidebar top; replaced card/counter styling with left accent bar and hover backgrounds

> Moved Table of Contents from main prose column to sidebar top; replaced card/counter styling with left accent bar and hover backgrounds

## What Happened
---
id: T01
parent: S04
milestone: M016
key_files:
  - frontend/src/pages/TechniquePage.tsx
  - frontend/src/components/TableOfContents.tsx
  - frontend/src/App.css
key_decisions:
  - ToC only renders in sidebar for v2-format pages; v1 pages have no ToC at all
duration: ""
verification_result: passed
completed_at: 2026-04-03T05:52:44.616Z
blocker_discovered: false
---

# T01: Moved Table of Contents from main prose column to sidebar top; replaced card/counter styling with left accent bar and hover backgrounds

**Moved Table of Contents from main prose column to sidebar top; replaced card/counter styling with left accent bar and hover backgrounds**

## What Happened

Relocated TableOfContents render from inside the v2 prose fragment to the top of technique-columns__sidebar, gated on v2 format. Changed heading to "On this page", converted ol to ul. Replaced CSS card/counter styling with border-left accent bar and hover background states on all links.

## Verification

Production build passes cleanly: `cd frontend && npm run build` — 57 modules transformed, zero errors, zero warnings.

## Verification Evidence

| # | Command | Exit Code | Verdict | Duration |
|---|---------|-----------|---------|----------|
| 1 | `cd frontend && npm run build 2>&1 | tail -5 && echo 'Build OK'` | 0 | ✅ pass | 1000ms |


## Deviations

None.

## Known Issues

None.

## Files Created/Modified

- `frontend/src/pages/TechniquePage.tsx`
- `frontend/src/components/TableOfContents.tsx`
- `frontend/src/App.css`


## Deviations
None.

## Known Issues
None.
