Sanitized mirror from private repository - 2026-04-04 12:42:10 UTC
Some checks failed
Documentation / Build Docusaurus (push) Failing after 5m2s
Documentation / Deploy to GitHub Pages (push) Has been skipped

This commit is contained in:
Gitea Mirror Bot
2026-04-04 12:42:10 +00:00
commit 27d742a147
1381 changed files with 353139 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { Card, CardContent } from "@/components/ui/card";
interface StatCardProps {
label: string;
value: string | number;
sub?: React.ReactNode;
}
export function StatCard({ label, value, sub }: StatCardProps) {
return (
<Card>
<CardContent className="pt-4 pb-3 px-4">
<p className="text-[10px] uppercase tracking-wider text-muted-foreground font-medium mb-1">
{label}
</p>
<p className="text-2xl font-bold text-foreground">{value}</p>
{sub && <div className="mt-1 text-xs text-muted-foreground">{sub}</div>}
</CardContent>
</Card>
);
}