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:
@@ -28,7 +28,7 @@ export default function BanUserCard() {
|
||||
}
|
||||
|
||||
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">Ban User</h2>
|
||||
<p className="text-sm text-muted-foreground mt-1">Block abusive users by Telegram ID</p>
|
||||
<form onSubmit={handleBan} className="mt-4 space-y-3">
|
||||
|
||||
Reference in New Issue
Block a user