Skip to content

fix: the public navbar shows no version badge - #12

Merged
wardbryan3 merged 1 commit into
mainfrom
fix/public-navbar-no-version
Sep 10, 2026
Merged

wardbryan3 merged 1 commit into
mainfrom
fix/public-navbar-no-version

Conversation

@wardbryan3

Copy link
Copy Markdown
Contributor

Summary

0.5.0 carried over the lone centred version badge the main docs site used to render when its navbar had no title. Bryan's call: the public navbar is logo-only. The version badge, like the centred title, now renders on the developer variant only, and customFields.projectVersion is ignored on the public one.

  • useVantageNavbar returns version: null unless the variant is developer.
  • The CSS rule that existed only to hide a lone badge between 997 and 1024px goes; that case can no longer occur.
  • Exports and components reference pages updated.

Verified

  • 14 option tests pass.
  • Demo site built against the packed theme with baseUrl: '/': no navbar__version-badge, no navbar__center-title element, brand link to the docs root.
  • Demo site rebuilt as the developer spoke: badge and centred title both present.

After merge

Release as 0.5.1. Spokes are unaffected (developer variant); the one site that changes is vantage-docs, whose open PR (vantagecompute/vantage-docs#142) locks 0.5.0 and needs its lockfile moved to 0.5.1 once published.

🤖 Generated with Claude Code

0.5.0 kept the lone centred badge the main docs site used to render when
its navbar had no title. The public navbar is meant to be logo-only: the
brand mark, search, the SiteActions slot and the toggle. The badge, like
the title, now belongs to the developer variant alone, and the CSS that
existed only to hide a lone badge on tablets goes with it.
@wardbryan3
wardbryan3 merged commit c15cf28 into main Sep 10, 2026
2 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