From 16a5c699102b5fce5e981e1b55b1a785f77b1df8 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 31 Oct 2026 11:05:08 +0800 Subject: [PATCH] feat: add npm link next to GitHub in the site header Adds an npm button beside the GitHub button and an npm entry in the mobile menu, both from SITE.npm. The header now collapses at 58rem instead of 52rem so the extra button does not overflow just above the old breakpoint. --- .../src/components/landing/SiteHeader.astro | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/apps/web/src/components/landing/SiteHeader.astro b/apps/web/src/components/landing/SiteHeader.astro index a3b47ab..7be07a4 100644 --- a/apps/web/src/components/landing/SiteHeader.astro +++ b/apps/web/src/components/landing/SiteHeader.astro @@ -1,4 +1,6 @@ --- +import { SITE } from "../../lib/site"; + const links = [ { href: "/#agents", label: "Agents" }, { href: "/#mcp", label: "MCP" }, @@ -17,15 +19,24 @@ const links = [ - - - GitHub - +
+ + + GitHub + + + + npm + +