Skip to content

feat(ui): clean demo URL + 'Back to landing' in banner - #85

Merged
danielgorgonha merged 1 commit into
mainfrom
feat/demo-clean-url
Aug 3, 2026
Merged

feat(ui): clean demo URL + 'Back to landing' in banner#85
danielgorgonha merged 1 commit into
mainfrom
feat/demo-clean-url

Conversation

@danielgorgonha

Copy link
Copy Markdown
Member

Two demo-UX fixes: (1) strip ?demo from 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).

…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'.
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
konclave-demo Ready Ready Preview Aug 3, 2026 2:34pm

Request Review

@danielgorgonha
danielgorgonha merged commit 26197f3 into main Aug 3, 2026
7 checks passed
@danielgorgonha
danielgorgonha deleted the feat/demo-clean-url branch August 3, 2026 14: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