chore: publish current DataStack updates
Publish the current application, design, and Phase 1 deployment updates. Excludes ignored personal notes, local MCP config, and generated TypeScript build info.
This commit is contained in:
1 parent
d39d9f92f9
commit
fcc4f4db2d
88 files changed
+21248
-2213
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
type Dot = 'ok' | 'off' | 'pending';
|
||||
type Item = { label: string; value: ReactNode; dot?: Dot };
|
||||
|
||||
const DOT_CLASS: Record<Dot, string> = {
|
||||
ok: 'bg-[var(--accent)]',
|
||||
off: 'bg-[var(--text-faint)]',
|
||||
pending: 'bg-[var(--warning)]',
|
||||
};
|
||||
|
||||
export function StatStrip({ items }: { items: Item[] }) {
|
||||
return (
|
||||
<div className="mb-4 grid grid-cols-2 gap-px border border-[var(--border)] bg-[var(--border)] md:grid-cols-4">
|
||||
{items.map((item) => (
|
||||
<div key={item.label} className="bg-[var(--surface)] px-4 py-3">
|
||||
<div className="mb-1 text-[10px] uppercase tracking-wider text-[var(--text-faint)]">
|
||||
{item.label}
|
||||
</div>
|
||||
<div className="flex items-center gap-2 text-lg font-medium leading-none tracking-tight text-[var(--text)]">
|
||||
{item.dot && <span aria-hidden="true" className={`h-1.5 w-1.5 ${DOT_CLASS[item.dot]}`} />}
|
||||
{item.value}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user