import { ImageResponse } from "next/og" export const runtime = "edge" export const alt = "Evaluation Cards — a reporting layer over evaluation infrastructure" export const size = { width: 1200, height: 630 } export const contentType = "image/png" // Brand mark URL. `ImageResponse` fetches `` at render time, // so it needs an absolute URL — prefer NEXT_PUBLIC_SITE_URL (set on // the Space), else fall back to the canonical remote. const LOGO_URL = (process.env.NEXT_PUBLIC_SITE_URL?.trim().replace(/\/+$/, "") ?? "") + "/logo-square.png" const FALLBACK_LOGO_URL = "https://evalevalai.com/assets/img/logo-square.png" export default function OpenGraphImage() { const logoUrl = LOGO_URL.startsWith("http") ? LOGO_URL : FALLBACK_LOGO_URL return new ImageResponse( (
{/* Brand row */}
{/* eslint-disable-next-line @next/next/no-img-element */}
Evaluation Cards
Beta · EvalEval
{/* Headline + lede */}
A reporting  layer  over
evaluation infrastructure.
A collection of reported model–benchmark results, organised under a five-level rollout hierarchy and four interpretive signals.
{/* Footer strip */}
Reproducibility · Completeness · Provenance · Comparability
evalcards.evalevalai.com
), { ...size, }, ) }