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:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user