ERP-node/frontend/app/(main)/admin/page.tsx

89 lines
3.8 KiB
TypeScript

import { Users, Shield, Settings, BarChart3 } from "lucide-react";
/**
* 관리자 메인 페이지
*/
export default function AdminPage() {
return (
<div className="space-y-6">
{/* 관리자 기능 카드들 */}
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-4">
<div className="rounded-lg border bg-white p-6 shadow-sm">
<div className="flex items-center gap-4">
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-blue-50">
<Users className="h-6 w-6 text-blue-600" />
</div>
<div>
<h3 className="font-semibold text-gray-900"> </h3>
<p className="text-sm text-gray-600"> </p>
</div>
</div>
</div>
<div className="rounded-lg border bg-white p-6 shadow-sm">
<div className="flex items-center gap-4">
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-green-50">
<Shield className="h-6 w-6 text-green-600" />
</div>
<div>
<h3 className="font-semibold text-gray-900"> </h3>
<p className="text-sm text-gray-600"> </p>
</div>
</div>
</div>
<div className="rounded-lg border bg-white p-6 shadow-sm">
<div className="flex items-center gap-4">
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-purple-50">
<Settings className="h-6 w-6 text-purple-600" />
</div>
<div>
<h3 className="font-semibold text-gray-900"> </h3>
<p className="text-sm text-gray-600"> </p>
</div>
</div>
</div>
<div className="rounded-lg border bg-white p-6 shadow-sm">
<div className="flex items-center gap-4">
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-orange-50">
<BarChart3 className="h-6 w-6 text-orange-600" />
</div>
<div>
<h3 className="font-semibold text-gray-900"> </h3>
<p className="text-sm text-gray-600"> </p>
</div>
</div>
</div>
</div>
{/* 최근 활동 */}
<div className="rounded-lg border bg-white p-6 shadow-sm">
<h3 className="mb-4 text-lg font-semibold"> </h3>
<div className="space-y-4">
<div className="flex items-center justify-between border-b border-gray-100 py-2 last:border-0">
<div>
<p className="font-medium text-gray-900"> </p>
<p className="text-sm text-gray-600"> .</p>
</div>
<span className="text-sm text-gray-500">2 </span>
</div>
<div className="flex items-center justify-between border-b border-gray-100 py-2 last:border-0">
<div>
<p className="font-medium text-gray-900"> </p>
<p className="text-sm text-gray-600"> .</p>
</div>
<span className="text-sm text-gray-500">15 </span>
</div>
<div className="flex items-center justify-between border-b border-gray-100 py-2 last:border-0">
<div>
<p className="font-medium text-gray-900"> </p>
<p className="text-sm text-gray-600"> .</p>
</div>
<span className="text-sm text-gray-500">1 </span>
</div>
</div>
</div>
</div>
);
}