From 85e93199bf6f988dbe02d22c5ef11f8f3c5af9e5 Mon Sep 17 00:00:00 2001
From: Florent Tapponnier
| `/` | ` label/value pairs sitting above the fold, before any
- * prose. Copying the shape is the single highest-leverage change
- * identified in the July 2026 GEO deep-dive.
- * - Users get a two-second scan of the key facts (leader, metric, last
- * measured, license) without scrolling into the leaderboard body, so
- * the UX gain is real and not just an SEO trick.
- * - `itemscope` + `itemtype="https://schema.org/Dataset"` layers a
- * microdata graph over the DOM in addition to the JSON-LD block, which
- * some crawlers prefer.
+ * - Language models parse the content inside whether it is
+ * visually expanded or not, so the LLM-grounding pattern (Wikipedia
+ * infobox-style key/value pairs directly under the H1) is preserved
+ * in either state.
+ * - Human readers get a scannable one-line teaser that a click reveals
+ * into a compact card. The default is expanded so first-time visitors
+ * see the facts without having to interact.
+ * - itemscope + itemtype layer a schema.org Dataset microdata graph
+ * over the DOM in addition to the JSON-LD block so crawlers that
+ * parse microdata pick up the same facts.
*
- * Hidden gracefully when the bench has no defensible leader (draft,
- * insufficient, awaiting first run) so the rendered box never publishes
- * a fabricated leader row.
+ * Renders nothing when the bench has no defensible leader (draft,
+ * insufficient, awaiting) so we never publish a fabricated leader row.
*/
export function BenchInfobox({ benchmark }: { benchmark: Benchmark }) {
const top = leader(benchmark);
@@ -33,54 +31,103 @@ export function BenchInfobox({ benchmark }: { benchmark: Benchmark }) {
const lastRunIso = benchmark.lastRunAt
? new Date(benchmark.lastRunAt).toISOString()
: null;
- const lastRunDisplay = lastRunIso ? lastRunIso.replace("T", " ").slice(0, 19) + " UTC" : "n/a";
+ const lastRunDisplay = lastRunIso
+ ? lastRunIso.replace("T", " ").slice(0, 19) + " UTC"
+ : "n/a";
return (
);
}
-function InfoRow({
+function InfoPair({
label,
children,
+ className,
}: {
label: string;
children: React.ReactNode;
+ className?: string;
}) {
return (
- |
|---|---|
| + {label} - | -{children} | -