Skip to content

feat(config): Add enterprise sign-in nudge to sidebar#223

Open
JeromeJaggi wants to merge 1 commit into
prod-stagingfrom
feat/enterprise-sign-in-sidebar-nudge
Open

feat(config): Add enterprise sign-in nudge to sidebar#223
JeromeJaggi wants to merge 1 commit into
prod-stagingfrom
feat/enterprise-sign-in-sidebar-nudge

Conversation

@JeromeJaggi

Copy link
Copy Markdown
Member

Adds an anonymous-only "Sign in for Enterprise Docs" link at the top of the Documentation sidebar (above Getting Started), prompting visitors to sign in to access enterprise documentation.

Behaviour

  • Visible only to logged-out visitors (display: "anon")
  • Hidden once authenticated — enterprise users then reach the real docs via the Enterprise navigation added by the www overlay
  • Lock icon, with a separator below (also anon-only, so it hides with the link)

Why here (not in www)

Per @jesi-rgb's feedback on unikraft-cloud/www#664: docs navigation belongs in this repo. The www repo's apps/docs content is placeholder and gets overwritten at build time, so the change must live in the docs source config.

Supersedes the closed unikraft-cloud/www#664.

Insert an anonymous-only link at the top of the Documentation sidebar
(above Getting Started) prompting visitors to sign in for the enterprise
docs. It hides once authenticated; enterprise users then reach the real
enterprise docs via the Enterprise navigation added by the www overlay.

Signed-off-by: Jerome Jaggi <jerome@unikraft.io>
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