Repository navigation
docs: match the sandbase.ai header and canvas - #59
Merged
Merged
Conversation
The docs header still copied an older main-site navigation (Store / Build / Lab, GitHub, Sign in). Mirror the current sandbase-fe site-header: Models mega menu (LLMs, Image & video), APIs, Skills, Agents, Docs, Pricing, Resources menu, and a single Start building action. The mobile drawer follows the same order. Light canvas goes from #f7f7f8 to #ffffff, the main site's --color-canvas. Dark mode already matched. test-site-header now pins the menu order and rejects the old items.
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.
Reader problem
The docs header still copied an older sandbase.ai navigation (Store / Build / Lab, GitHub, Sign in) and the light canvas was gray (
#f7f7f8), so moving between the main site and/docs/changed both the menu and the background.Changes
.vitepress/theme/SiteHeader.vue: mirrors the current sandbase-fesite-header.tsx/site-navigation.ts..vitepress/theme/custom.css: light--sb-canvas#f7f7f8→#ffffff(main site--color-canvas). Dark mode unchanged (already matched).scripts/test-site-header.mjs: pins the menu order and rejects the old Store / Build / Sign in items.Verification
npm run validate: pass (including build and built public surface).