From 5e33a4db221145b1114c3720ff1b3046ba9d0aad Mon Sep 17 00:00:00 2001 From: CarterPerez-dev Date: Sun, 3 May 2026 06:56:03 -0400 Subject: [PATCH] feat(monitor/frontend): top strip (title + UTC clock + about/user icons) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thin 36px strip in the topstrip grid-area: left = MONITORING THE SITUATION label + about-trigger icon, center = HH:MM:SS UTC mono clock with tabular-nums ticking once per second, right = settings gear (auth) or user (anonymous) that navigates via ROUTES.{SETTINGS,LOGIN}. About icon dispatches openAbout on the ui store; the modal itself is Task 23. Pure monochrome — title --fg-2 letter-spaced uppercase --type-label, clock --fg-2 mono, icons --fg-3 with --fg-1 hover color shift (no transition, no scale, no rounded surface). Reads tmux-status-line, not SaaS app header. focus-visible outline 1px --fg-2 for keyboard a11y. Dashboard.tsx renders as a direct child of .root so it auto-places into the topstrip named area. Plan 5 Task 8 Design QA: strip height, label tier, mono tabular clock, zero rounding, tmux feel — all verified. --- .../src/pages/dashboard/Dashboard.tsx | 2 + .../src/pages/dashboard/TopStrip.module.scss | 64 +++++++++++++++++ .../frontend/src/pages/dashboard/TopStrip.tsx | 70 +++++++++++++++++++ 3 files changed, 136 insertions(+) create mode 100644 PROJECTS/advanced/monitor-the-situation-dashboard/frontend/src/pages/dashboard/TopStrip.module.scss create mode 100644 PROJECTS/advanced/monitor-the-situation-dashboard/frontend/src/pages/dashboard/TopStrip.tsx diff --git a/PROJECTS/advanced/monitor-the-situation-dashboard/frontend/src/pages/dashboard/Dashboard.tsx b/PROJECTS/advanced/monitor-the-situation-dashboard/frontend/src/pages/dashboard/Dashboard.tsx index 0a6fcf55..cc5791b3 100644 --- a/PROJECTS/advanced/monitor-the-situation-dashboard/frontend/src/pages/dashboard/Dashboard.tsx +++ b/PROJECTS/advanced/monitor-the-situation-dashboard/frontend/src/pages/dashboard/Dashboard.tsx @@ -2,10 +2,12 @@ // Dashboard.tsx import styles from './Dashboard.module.scss' +import { TopStrip } from './TopStrip' export function Dashboard(): React.ReactElement { return (
+