From abec2bc9283b792253a41ffaddf9b58d0fc743c5 Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 9 Apr 2026 04:57:23 +0000 Subject: [PATCH 1/3] feat(web): improve landing page nav layout Replace GitHub text link and npm install pill in the navbar with a clean GitHub icon (icon-only, far right), matching the allagents.dev pattern. Move the npm install command to the hero section below the CTA buttons as a copyable inline terminal snippet. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- apps/web/src/components/Lander.astro | 68 +++++++++++++++++++++++----- 1 file changed, 57 insertions(+), 11 deletions(-) diff --git a/apps/web/src/components/Lander.astro b/apps/web/src/components/Lander.astro index 25a62cbe8..ed5a3e6cb 100644 --- a/apps/web/src/components/Lander.astro +++ b/apps/web/src/components/Lander.astro @@ -14,14 +14,9 @@ @@ -45,6 +40,14 @@ GitHub +
@@ -340,7 +343,7 @@ tests: .av-nav-links { display: flex; align-items: center; - gap: 1.5rem; + gap: 1.25rem; } .av-nav-links > a { @@ -355,6 +358,17 @@ tests: color: var(--av-text); } +.av-nav-github { + display: flex; + align-items: center; + color: hsl(240, 5%, 65%) !important; + transition: color 0.15s !important; +} + +.av-nav-github:hover { + color: var(--av-text) !important; +} + .av-nav-pill { all: unset; display: flex; @@ -464,6 +478,38 @@ tests: display: flex; gap: 0.875rem; flex-wrap: wrap; + align-items: center; +} + +.av-hero-install { + all: unset; + display: inline-flex; + align-items: center; + gap: 0.5rem; + cursor: pointer; + padding: 0.4rem 0.75rem; + background: var(--av-surface); + border: 1px solid var(--av-surface-border); + border-radius: 6px; + font-family: var(--av-font-mono); + font-size: 0.8rem; + color: hsl(240, 5%, 65%); + transition: border-color 0.15s, color 0.15s; + margin-top: 0.5rem; +} + +.av-hero-install:hover { + border-color: var(--av-indigo); + color: hsl(240, 5%, 85%); +} + +.av-hero-install-prompt { + color: var(--av-cyan); + font-weight: 600; +} + +.av-hero-install code { + font-family: inherit; } .av-btn-primary { @@ -1024,8 +1070,8 @@ td code { grid-template-columns: 1fr; } - .av-nav-pill { - display: none; + .av-hero-install { + font-size: 0.75rem; } .av-table-fade { From 4e99e0304f612d61cf497daa5ea6e69becaf67bf Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 9 Apr 2026 05:13:28 +0000 Subject: [PATCH 2/3] feat(web): add search bar to nav, fix hero install spacing - Add Pagefind search button (Search docs... / Ctrl+K) to navbar between Docs and GitHub icon, matching the allagents.dev layout - Add full search dialog with dark-themed Pagefind UI - Increase margin-top on hero install command from 0.5rem to 1.5rem for clear visual separation from CTA buttons Co-Authored-By: Claude Sonnet 4.6 (1M context) --- apps/web/src/components/Lander.astro | 216 ++++++++++++++++++++++++++- 1 file changed, 215 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/Lander.astro b/apps/web/src/components/Lander.astro index ed5a3e6cb..92ed47980 100644 --- a/apps/web/src/components/Lander.astro +++ b/apps/web/src/components/Lander.astro @@ -14,6 +14,19 @@