From ba7e77ebbe095e55359825daff47d93ba5c675b7 Mon Sep 17 00:00:00 2001 From: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com> Date: Thu, 7 May 2026 11:11:06 -1000 Subject: [PATCH 1/2] docs: fix nav bar icons and spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Guides: puzzle → rocket (was duplicate of Agents icon) - Enterprise: star → setting (better conveys admin/governance) - Nav links: double horizontal padding (0.125rem → 0.25rem) for better click targets and breathing room Co-Authored-By: Oz --- src/components/WarpTopicNav.astro | 2 +- src/sidebar.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/WarpTopicNav.astro b/src/components/WarpTopicNav.astro index 46f5094..c7837d7 100644 --- a/src/components/WarpTopicNav.astro +++ b/src/components/WarpTopicNav.astro @@ -148,7 +148,7 @@ const CUSTOM_TOPIC_ICONS: Record = { display: flex; align-items: center; gap: 0.5rem; - padding: 0 0.125rem; + padding: 0 0.25rem; font-size: var(--sl-text-sm); font-weight: 500; /* `1.25` is just enough to clear Inter's natural ascent + descent diff --git a/src/sidebar.ts b/src/sidebar.ts index ef43fec..47ddad9 100644 --- a/src/sidebar.ts +++ b/src/sidebar.ts @@ -510,9 +510,9 @@ export const sidebarTopics: StarlightSidebarTopicsUserConfig = [ ], }, { - label: 'Enterprise', - link: '/enterprise/', - icon: 'star', + label: 'Enterprise', + link: '/enterprise/', + icon: 'setting', items: [ { label: 'Getting started', @@ -558,10 +558,10 @@ export const sidebarTopics: StarlightSidebarTopicsUserConfig = [ ], }, { - id: 'guides', - label: 'Guides', - link: '/guides/', - icon: 'puzzle', + id: 'guides', + label: 'Guides', + link: '/guides/', + icon: 'rocket', items: [ { slug: 'guides', label: 'Guides' }, { From ac6ce064d0fd07a87d93e62e5721efa23f79c6f2 Mon Sep 17 00:00:00 2001 From: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com> Date: Thu, 7 May 2026 15:01:30 -1000 Subject: [PATCH 2/2] docs: add custom building icon for Enterprise in header nav Add an office building inline SVG for the Enterprise topic in WarpTopicNav.astro, replacing the gear icon per review feedback. The building has a simple outline with window dots and entrance, stroke-matched to the other custom icons (robot, brackets). sidebar.ts keeps star as the mobile drawer fallback since custom SVGs can't be used in the starlight-sidebar-topics plugin. Co-Authored-By: Oz --- src/components/WarpTopicNav.astro | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/components/WarpTopicNav.astro b/src/components/WarpTopicNav.astro index c7837d7..4d91dbb 100644 --- a/src/components/WarpTopicNav.astro +++ b/src/components/WarpTopicNav.astro @@ -39,6 +39,7 @@ const { topics } = Astro.locals.starlightSidebarTopics; const CUSTOM_TOPIC_ICONS: Record = { Agents: true, API: true, + Enterprise: true, }; --- @@ -73,6 +74,27 @@ const CUSTOM_TOPIC_ICONS: Record = { + ) : topic.label === 'Enterprise' ? ( + /* Office building — simple outline: tall rectangle + with window grid and entrance, stroke weight matched + to the other topic icons. */ + + + + + + + + + + ) : ( /* Robot icon — stroke-based outline matching the visual weight of Starlight's other topic icons (laptop, book,