From 213e61a932a7355a2b49c144d776fcf6aa5a5267 Mon Sep 17 00:00:00 2001 From: EmersonBraun Date: Tue, 19 May 2026 13:58:55 -0300 Subject: [PATCH] fix(docs): monthly downloads only + square the ink terminal card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - social-proof-bar: switch npm metric from last-week to last-month (endpoint + label) so the homepage shows monthly downloads only. - hero-demo TerminalMirror: replace the hand-drawn ASCII weather box with a CSS-bordered grid. The box characters never aligned because the row content mixed variable-width glyphs (°, ☀) inside a
,
  bowing the right border and corners out of square.
---
 .../(home)/_components/hero-demo/widgets.tsx  | 43 ++++++++++++++-----
 .../(home)/_components/social-proof-bar.tsx   |  4 +-
 2 files changed, 35 insertions(+), 12 deletions(-)

diff --git a/apps/docs-next/app/(home)/_components/hero-demo/widgets.tsx b/apps/docs-next/app/(home)/_components/hero-demo/widgets.tsx
index b0662c05..cb4456e1 100644
--- a/apps/docs-next/app/(home)/_components/hero-demo/widgets.tsx
+++ b/apps/docs-next/app/(home)/_components/hero-demo/widgets.tsx
@@ -440,16 +440,39 @@ export function TerminalMirror() {
         
~/agentskit · ink · tty
● connected -
-         weather in tokyo this weekend{'\n'}
-         weather.get{'(...) '}600ms{'\n'}
-        ┌─ Tokyo · Sat Apr 18 ──────────┐{'\n'}
-        │ 72°  feels 70°       ☀        │{'\n'}
-        │ Sat  Sun  Mon  Tue  Wed       │{'\n'}
-        │ 72°  68°  64°  66°  70°       │{'\n'}
-        └───────────────────────────────┘{'\n'}
-        ▎ Sunny saturday, showers sun → mon.
-      
+
+
+ {' '} + weather in tokyo this weekend +
+
+ {' '} + weather.get + (...) + 600ms +
+
+
+ Tokyo · Sat Apr 18 + ☀ 72° · feels 70° +
+
+ {[ + ['Sat', '72°'], + ['Sun', '68°'], + ['Mon', '64°'], + ['Tue', '66°'], + ['Wed', '70°'], + ].map(([day, temp]) => ( +
+
{day}
+
{temp}
+
+ ))} +
+
+
▎ Sunny saturday, showers sun → mon.
+
same controller as browser · @agentskit/ink
diff --git a/apps/docs-next/app/(home)/_components/social-proof-bar.tsx b/apps/docs-next/app/(home)/_components/social-proof-bar.tsx index 21f59393..314e2bc4 100644 --- a/apps/docs-next/app/(home)/_components/social-proof-bar.tsx +++ b/apps/docs-next/app/(home)/_components/social-proof-bar.tsx @@ -32,7 +32,7 @@ function compact(n: number): string { async function fetchDownloads(pkg: string): Promise { try { const res = await fetch( - `https://api.npmjs.org/downloads/point/last-week/${encodeURIComponent(pkg)}`, + `https://api.npmjs.org/downloads/point/last-month/${encodeURIComponent(pkg)}`, ) if (!res.ok) return 0 const data: { downloads?: number } = await res.json() @@ -95,7 +95,7 @@ export function SocialProofBar() {