Skip to content

Add work-in-progress new TopNav component - #3267

Open
rosslovas wants to merge 1 commit into
mainfrom
ross/new-top-nav-wip
Open

Add work-in-progress new TopNav component#3267
rosslovas wants to merge 1 commit into
mainfrom
ross/new-top-nav-wip

Conversation

@rosslovas

@rosslovas rosslovas commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an early stage implementation of an upcoming TopNav redesign.

No functionality is implemented, just visuals. Only the signed-out variant is implemented, and the search bar is entirely unimplemented.

Results

Target design:

image

As implemented:

See it in action at https://stoctodocspr3267.z22.web.core.windows.net/components#topnav

image

Variations of note from the original design:

  • The Docs and Start for free text are weight 600 rather than 700, which was discussed and agreed upon as 600 matches the intended tokens.
  • The theme switcher icon isn't correct nor does it switch between icons for light/dark mode, it's just a placeholder for now.

@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3267.z22.web.core.windows.net.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

@rosslovas
rosslovas force-pushed the ross/new-top-nav-wip branch from 79d12dd to 64f2438 Compare July 29, 2026 23:00
@rosslovas
rosslovas force-pushed the ross/new-top-nav-wip branch from 64f2438 to 7be65b1 Compare July 29, 2026 23:01
</div>
<div class="top-nav__trailing">
<!-- All of these are just non-functional and for visual/presentation only at this stage -->
<Button icon="fa-regular fa-moon" aria-label="Switch to dark theme" />

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expected fa-regular fa-moon to be the outline like their website says, but it's exactly the same as solid 🤔 Not sure why, but I'm just leaving this as a placeholder for now anyhow, as I'm just trying to get the layout right at this early stage.

@rosslovas
rosslovas marked this pull request as ready for review July 29, 2026 23:12
Comment thread public/docs/css/vars.css
Comment on lines +259 to +262
/* TODO: drop these once color.nav.background.* are available in design-system-tokens */
--colorNavBackgroundRest: rgb(from var(--colorScalesBlue500) r g b / 0);
--colorNavBackgroundHover: var(--colorScalesSlate100);
--colorNavBackgroundActive: rgb(from var(--colorScalesBlue500) r g b / 0.06);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I need the design folks to get these added on my behalf, that would be appreciated whenever possible 🙇

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rosslovas I'll work with design team next week to make these available

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ellen-octopus ellen-octopus Jul 30, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are only for in-product navigation. We won't be using the same for the docs site :)

@rosslovas
rosslovas requested a review from ellen-octopus July 29, 2026 23:18

@ellen-octopus ellen-octopus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pixel perfect 🤩 thanks @rosslovas!
Also just noting, I know I haven't provided a responsive layout for the nav yet, but since this is an early implementation, we can add it later.

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.

4 participants