diff --git a/site/src/components/SocialIcons.astro b/site/src/components/SocialIcons.astro index a1b3827..752c241 100644 --- a/site/src/components/SocialIcons.astro +++ b/site/src/components/SocialIcons.astro @@ -1,13 +1,18 @@ --- -// Keep Starlight's default social icons (the GitHub link) and append a live -// star-count pill, matching the landing page nav. +// Docs-header right cluster: Docs + Languages text links, Starlight's default +// social icons (the GitHub link), and a live star-count pill — same order as +// the landing nav (Docs · Languages · GitHub · Star). Done here, in the slot we +// already own, to avoid a full header rebuild that could break search/mobile. import Default from '@astrojs/starlight/components/SocialIcons.astro'; import { getStarsLabel } from '../lib/github'; const stars = await getStarsLabel(); +const base = import.meta.env.BASE_URL.replace(/\/$/, ''); const repo = 'https://github.com/colbymchenry/codegraph'; --- +Docs +Languages