feat(ui): clean demo URL + 'Back to landing' in banner - #85
Merged
Conversation
…g' in the banner - api.ts: after reading ?demo=1/0, strip it from the address bar (history.replaceState) so the path stays clean; the mode persists via localStorage. 'Ver demonstração' lands on /vaults in demo mode with no query in the URL. - DemoBanner: always show the way back to the landing (reverts the helper-gated hide from #84) — it leaves demo (?demo=0) and lands on the static landing, which works with or without a helper; from there a visitor re-enters the demo or the real vault. Label: '← Back to landing'.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two demo-UX fixes: (1) strip
?demofrom the address bar after entry (mode persists via localStorage) so the path stays clean; (2) always offer '← Back to landing' in the demo banner (reverts #84's helper-gated hide — exiting lands on the static landing, which works regardless of helper).