Skip to content

feat(ui): sticky demo notice bar on deployed instances - #6

Merged
asharahmed merged 1 commit into
mainfrom
feat/demo-banner
Jul 17, 2026
Merged

feat(ui): sticky demo notice bar on deployed instances#6
asharahmed merged 1 commit into
mainfrom
feat/demo-banner

Conversation

@asharahmed

Copy link
Copy Markdown
Owner

Adds a slim, theme-aware sticky top bar marking getravelin.xyz as a public demonstration (sample data, illustrative only).

  • Shown only on deployed hosts via a data-demo flag set before first paint (hidden on localhost, so local dev is unaffected).
  • Sticky at the very top; the app's sticky sidebar/top-row (MainLayout) and the public nav (PublicLayout .public-top) offset themselves by --demo-bar-h (which is 0 locally), so nothing hides behind or overlaps the bar on scroll.
  • Hidden in print; text contains no em dash.

Deployed live to getravelin.xyz (image ravelin:0.7.3).

A slim, theme-aware sticky top bar that marks getravelin.xyz as a public
demonstration (sample data, illustrative only). Shown only on deployed hosts via
a data-demo flag set before first paint (hidden on localhost). The app's sticky
sidebar/top-row offset themselves by --demo-bar-h (0 locally), so nothing hides
behind it; hidden in print.
@asharahmed
asharahmed merged commit 518d4aa into main Jul 17, 2026
10 checks 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