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,22 @@
|
||||
import React from 'react';
|
||||
import { Card } from './Card';
|
||||
|
||||
interface StatCardProps {
|
||||
label: string;
|
||||
value: string | number;
|
||||
unit?: string;
|
||||
meta: string;
|
||||
}
|
||||
|
||||
export const StatCard: React.FC<StatCardProps> = ({ label, value, unit, meta }) => (
|
||||
<Card compact className="bg-[var(--surface)]">
|
||||
<div className="mb-1.5 text-[10px] uppercase text-[var(--text-faint)]">{label}</div>
|
||||
<div className="text-[22px] font-medium leading-tight text-[var(--text)]">
|
||||
{value}
|
||||
{unit && <span className="ml-1 text-[11px] font-normal text-[var(--text-muted)]">{unit}</span>}
|
||||
</div>
|
||||
<div className="mt-2 text-[11px] text-[var(--text-muted)]">{meta}</div>
|
||||
</Card>
|
||||
);
|
||||
|
||||
export default StatCard;
|
||||
Reference in new issue
Block a user