Skip to content

Share one nav across the site and fill out the AI page - #240

Closed
guanzhousongmicrosoft wants to merge 2 commits into
documentdb:mainfrom
GuanzhouSong:website/nav-and-ai-page
Closed

guanzhousongmicrosoft wants to merge 2 commits into
documentdb:mainfrom
GuanzhouSong:website/nav-and-ai-page

Conversation

@guanzhousongmicrosoft

Copy link
Copy Markdown
Member

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.

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>
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.

2 participants