Repository navigation
Share one nav across the site and fill out the AI page - #240
Closed
guanzhousongmicrosoft wants to merge 2 commits into
Closed
guanzhousongmicrosoft wants to merge 2 commits into
guanzhousongmicrosoft wants to merge 2 commits into
Conversation
The blog and announcement pages kept a hand-copied nav that had drifted (no AI or Samples, a different Download label). Both now read blogs/_data/nav.json. Samples, the VS Code extension and Agent-Kit fold under Build, Announcements and Blogs under News. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Use cases link to their samples, the gallery's vector search samples appear on the page, and the toy 3-dimension example becomes a local Ollama + Python flow. Drops the stats and logos the home page repeats. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
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.
Blog and announcement pages are built by Jekyll with a hand-copied nav, and it had drifted from the Next.js one: no AI or Samples links, and "Download" instead of "Install & Download". Copying the missing links across would drift again, and with 11 items the bar already wrapped at 1280px.
Both navs now render from
blogs/_data/nav.json, which Jekyll reads as site data and the navbar imports. Home is gone (the logo links there), GitHub and Discord become icons, Samples, the VS Code extension and Agent-Kit move under Build, and Announcements and Blogs under News. That frees enough room to show the desktop bar from 1024px instead of 1280px. Dropdown links stay in the HTML while closed, so crawlers still find them.The AI page had little to click: use cases without links, a samples button into the unfiltered gallery, and a 3-dimension toy example. It now lists the gallery's vector search samples (selected by tag, so new ones appear on their own), links each use case to a sample or reference page, swaps the toy vectors for a local Ollama + Python quick start, and adds Agent-Kit. The stats and logo wall that repeat the home page are gone. The quick start code was run against the 1.0 image.