Portal: full mock-driven surfaces, demonolithed components, backend-ready mocks (#6686)

This commit is contained in:
Reece Browne
2026-06-16 12:20:35 +01:00
committed by GitHub
parent 6716398ccb
commit 96accea984
146 changed files with 12221 additions and 286 deletions
@@ -0,0 +1,24 @@
import type { ReactNode } from "react";
import "@shared/components/MetricStrip.css";
export interface MetricStripProps {
children: ReactNode;
className?: string;
}
/**
* Responsive grid wrapper for a row of {@link MetricCard}s — the prototype's
* "metric strip" (Home, Sources, Usage, Infrastructure all use it). Four-up on
* wide screens, two-up below 50rem.
*/
export function MetricStrip({ children, className }: MetricStripProps) {
return (
<div
className={["sui-metric-strip", className ?? ""]
.filter(Boolean)
.join(" ")}
>
{children}
</div>
);
}