Skip to content

fix(demo): make showcase header edge-to-edge and add live demo url to readme - #33

Merged
arsalan-arshad merged 1 commit into
mainfrom
fix/demo-header-and-readme
Nov 10, 2026
Merged

arsalan-arshad merged 1 commit into
mainfrom
fix/demo-header-and-readme

Conversation

@arsalan-arshad

Copy link
Copy Markdown
Owner

Summary

Follow-up to #32:

  1. Edge-to-Edge Demo Header: In /demo?view=handout, renderHandoutHtml had an 800px max-width and 24px padding on body, squishing the dark demo bar and wrapping the role switcher links. Overrode the layout so .demo-showcase-bar spans 100% full width edge-to-edge across the top of the browser on all views, and wrapped the handout document in a centered 800px paper sheet preview (.demo-handout-sheet).
  2. README Live Demo URL: Added https://practitioner-protocols-production.up.railway.app/demo as a hero badge link under the title and in Section 1 (Overview & Vision) detailing the 4 role previews.

Verification

  • npm test: 606/606 passing
  • Validated <!DOCTYPE html> across all demo views (portal, client, handout, admin).

@arsalan-arshad
arsalan-arshad merged commit c65cf63 into main Nov 10, 2026
1 check passed
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