From ce6a2ee5e9dd2b3bc2d9fe72807a754545bee7eb Mon Sep 17 00:00:00 2001 From: kevinschaich Date: Fri, 13 Nov 2026 08:43:50 -0700 Subject: [PATCH] Each view gets a card of its own The view routes spread the overview, so /watch, /turns, /results, /tradeoff, /compare, /data and /script all carried the bench tagline and the same two stats. Every one of them now names itself. Co-Authored-By: Claude Opus 5 --- src/data.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/data.ts b/src/data.ts index cfa2902..2545bdc 100644 --- a/src/data.ts +++ b/src/data.ts @@ -187,10 +187,24 @@ export function routes(): Route[] { }, }) ) + // Each view gets a card of its own: spreading the overview gave every one of them the bench's + // tagline and the same two stats, so /watch and /turns shared a card that named neither. const tabs = TABS.slice(1).map( - (tab): Route => ({ ...overview, path: `${tab.id}/`, title: `${TAB_PAGES[tab.id].title} | ${BENCH.name} by Darkgrade`, description: TAB_PAGES[tab.id].description }) + (tab): Route => ({ + ...overview, + path: `${tab.id}/`, + title: `${TAB_PAGES[tab.id].title} | ${BENCH.name} by Darkgrade`, + description: TAB_PAGES[tab.id].description, + card: { eyebrow: 'Toolbench', heading: TAB_PAGES[tab.id].title, stats: [] }, + }) ) // The script had its own tab before it joined the method; its address still works. - const script: Route = { ...overview, path: 'script/', title: `The script | ${BENCH.name} by Darkgrade`, description: 'The script every model hears, turn by turn, with the take markers.' } + const script: Route = { + ...overview, + path: 'script/', + title: `The script | ${BENCH.name} by Darkgrade`, + description: 'The script every model hears, turn by turn, with the take markers.', + card: { eyebrow: 'Toolbench', heading: 'The script', stats: [] }, + } return [overview, ...tabs, script, ...models] }