Add system status and invitations cards to admin page

Introduces SystemStatusCard and InvitationsListCard components to the admin dashboard for displaying system metrics and active invitations. Refactors InviteVendorCard to generate and display invitation codes, and updates card layouts for consistent sizing. Improves admin page structure and enhances visibility of system and invitation data.
This commit is contained in:
NotII
2025-10-15 17:40:54 +01:00
parent 4fb6d3f740
commit e7c06e4352
6 changed files with 170 additions and 46 deletions

View File

@@ -36,7 +36,7 @@ export default function RecentOrdersCard() {
}, []);
return (
<div className="rounded-lg border border-border/60 bg-background p-4">
<div className="rounded-lg border border-border/60 bg-background p-4 h-full min-h-[200px]">
<h2 className="font-medium">Recent Orders</h2>
<p className="text-sm text-muted-foreground mt-1">Last 10 orders across stores</p>
{loading ? (