Refresh mobile dashboard and header

This commit is contained in:
Codex Agent
2026-01-16 22:06:41 +01:00
parent b53f809769
commit d6ee372671
6 changed files with 511 additions and 100 deletions

View File

@@ -152,10 +152,12 @@ export function KpiTile({
icon: IconCmp,
label,
value,
note,
}: {
icon: React.ComponentType<{ size?: number; color?: string }>;
label: string;
value: string | number;
note?: string;
}) {
const { accentSoft, primary, text } = useAdminTheme();
return (
@@ -178,6 +180,11 @@ export function KpiTile({
<Text fontSize="$xl" fontWeight="800" color={text}>
{value}
</Text>
{note ? (
<Text fontSize="$xs" color={text} opacity={0.7}>
{note}
</Text>
) : null}
</MobileCard>
);
}