MIF_E31221222/sigap-website/app/protected/(admin-pages)/user-management/users/page.tsx

28 lines
1020 B
TypeScript

import { Button } from "@/app/_components/ui/button";
import { Plus } from "lucide-react";
import { UserStats } from "../../_components/users/user-stats";
import { UsersTable } from "../../_components/users/users-table";
export default function UsersPage() {
return (
<>
<header className="flex h-16 shrink-0 items-center justify-between px-4 mb-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-8">
<div>
<h1 className="text-lg font-semibold">User Management</h1>
<p className="text-sm text-muted-foreground">
Manage user accounts and permissions
</p>
</div>
</header>
<div className="flex flex-1 flex-col gap-4 p-4 pt-0">
<div className="grid auto-rows-min gap-4 md:grid-cols-3">
<UserStats />
</div>
<div className="min-h-[100vh] flex-1 rounded-xl bg-background border md:min-h-min p-4">
<UsersTable />
</div>
</div>
</>
);
}