Skip to content

feat: add playbook sidebar nav and fix theme FOUC#144

Merged
braboj merged 1 commit into
mainfrom
feature/playbook-sidebar
Apr 25, 2026
Merged

feat: add playbook sidebar nav and fix theme FOUC#144
braboj merged 1 commit into
mainfrom
feature/playbook-sidebar

Conversation

@braboj

@braboj braboj commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add grouped recipe navigation in the right sidebar for all playbook pages (replaces tutorial links)
  • Playbook pages: left = heading ToC, right = recipe nav with current page highlighted
  • Non-playbook pages: left = heading ToC, right = tutorial links (unchanged)
  • Fix flash of unstyled content by moving theme init to <head>

Test plan

  • npm run build succeeds — 27 pages
  • Playbook pages show recipe nav on the right with correct active state
  • Non-playbook pages still show tutorial links on the right
  • No theme flash on page load (dark mode)
  • Mobile: both sidebars hidden

🤖 Generated with Claude Code

@braboj braboj force-pushed the feature/playbook-sidebar branch 2 times, most recently from 0b822af to 5d7d155 Compare April 25, 2026 15:33
Add a grouped recipe navigation sidebar on the right for playbook
pages, replacing the tutorial links. Non-playbook pages keep
tutorial links. All pages keep the heading ToC on the left.

Fix flash of unstyled content by moving theme initialization from
the body to the head.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@braboj braboj force-pushed the feature/playbook-sidebar branch from 5d7d155 to ea952bd Compare April 25, 2026 15:35
@braboj braboj merged commit e0b517e into main Apr 25, 2026
1 check passed
@braboj braboj deleted the feature/playbook-sidebar branch April 25, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant