// --------------------------------------------------------------------------- // InboxHeader // // Editorial dark hero for the Inbox. Larger than the previous 30px title // so it carries weight against the bright lane surface below. "Inbox." // is the page's anchor, the day/date sits as a serif italic, and the // "N items need eyes / N done today" line replaces the small status // pulse with a more dramatic mono announcement. // --------------------------------------------------------------------------- import { fmt } from "@/lib/format"; export function InboxHeader({ needEyesCount, doneTodayCount, }: { needEyesCount: number; doneTodayCount: number; }) { const now = new Date(); const day = now.toLocaleDateString("en-US", { weekday: "short" }).toUpperCase(); const date = now.toLocaleDateString("en-US", { month: "short", day: "2-digit", }); const time = now.toLocaleTimeString("en-US", { hour: "2-digit", minute: "2-digit", hour12: false, }); return (
{/* Ghost "TRIAGE" watermark — a print-shop stamp behind the title. */}
TRIAGE
Inbox · Working surface

Inbox.

Five lanes, one queue.{" "} {needEyesCount} {" "} need eyes; {doneTodayCount} are done today.

{day} {date}
{time}
local
{/* Live status row — a horizontal "ticker" of the lane counts so the operator can read the queue at a glance. */}
Live
· {needEyesCount} {" "} need eyes · {doneTodayCount} {" "} done today · {fmt.date(new Date().toISOString())}
); }