Commit Graph

5 Commits

Author SHA1 Message Date
Bas van Rossem
69e53ed695 feat(web): add search to Rules page
Filter sections by typing in the search box — matches against both
section titles and content. Shows result count and a "no results"
message. Expand/Collapse All buttons respect the filtered set.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 17:28:22 +01:00
Bas van Rossem
cbda07d793 feat(web): render markdown tables as real HTML tables
Add remark-gfm plugin so react-markdown renders GFM table syntax as
proper <table> elements. Wrap tables in a scrollable container for
mobile-friendly horizontal scrolling on wide tables like ship stats
and weapon lists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 17:02:58 +01:00
Bas van Rossem
0b6c810474 feat(web): expand Rules page with comprehensive ship reference
Replace the condensed battle reference with full ship-related content
from the complete Spelljammer reference. Now includes 18 sections:
General Spelljamming Rules, Ships, Ship Size, Maneuverability, Weapons,
Targeted Shots, Combat Turn, Complications, On-Deck/Below-Deck, Big
Damage rules, Ship & Weapon Stats (Appendix A), Subsystems & Upgrades
(Appendix B), Magic Items (Appendix C), NPC Crew (Appendix D),
Recovering Hull Points, Advanced Rules, Stunts (Appendix G), and a
Quick Reference checklist. Excludes Cards/Deck Building and Appendix F
(enemies) per request.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:57:32 +01:00
Bas van Rossem
510820b77a feat(web): add Rules/Reference page with collapsible battle reference sections
Embeds Battle reference.md content as collapsible sections with markdown
rendering, expand/collapse all controls, and styled tables and blockquotes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:29:07 +01:00
Bas van Rossem
5f275bfcc7 feat(web): set up React app shell with routing and layout
Adds react-router-dom with routes for ship list, dashboard, and rules pages.
Includes TopBar with navigation and mobile-first dark theme CSS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:20:22 +01:00