Dashboard und Benutzerverwaltung
This commit is contained in:
parent
c4d27a1187
commit
4cf671e32d
16 changed files with 684 additions and 79 deletions
26
frontend/athena/components/StatCard.tsx
Normal file
26
frontend/athena/components/StatCard.tsx
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import { ReactNode } from "react";
|
||||
|
||||
type Props = {
|
||||
title: string;
|
||||
value: ReactNode;
|
||||
};
|
||||
|
||||
export default function StatCard({ title, value }: Props) {
|
||||
|
||||
return (
|
||||
|
||||
<div className="bg-white rounded-xl shadow p-6">
|
||||
|
||||
<p className="text-gray-500">
|
||||
{title}
|
||||
</p>
|
||||
|
||||
<h2 className="text-5xl font-bold mt-4">
|
||||
{value}
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
|
||||
);
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue