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

214 lines
10 KiB
TypeScript
Raw Normal View History

import { Users, Shield, Settings, BarChart3, Palette, Layout, Database, Package, Building2 } from "lucide-react";
2025-09-01 11:48:12 +09:00
import Link from "next/link";
2025-09-29 13:29:03 +09:00
import { GlobalFileViewer } from "@/components/GlobalFileViewer";
2025-09-25 14:22:30 +09:00
2025-08-21 09:41:46 +09:00
/**
2025-08-26 17:20:45 +09:00
*
2025-08-21 09:41:46 +09:00
*/
export default function AdminPage() {
2025-08-26 17:20:45 +09:00
return (
<div className="bg-background min-h-screen">
<div className="w-full max-w-none space-y-16 px-4 pt-12 pb-16">
{/* 주요 관리 기능 */}
<div className="mx-auto max-w-7xl space-y-10">
<div className="mb-8 text-center">
<h2 className="text-foreground mb-2 text-2xl font-bold"> </h2>
<p className="text-muted-foreground"> </p>
2025-08-26 17:20:45 +09:00
</div>
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
<Link href="/admin/userMng" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Users className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
</div>
2025-09-01 11:48:12 +09:00
</div>
</Link>
{/* <div className="bg-card rounded-lg border p-6 shadow-sm">
2025-09-09 17:42:23 +09:00
<div className="flex items-center gap-4">
<div className="bg-success/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Shield className="text-success h-6 w-6" />
2025-09-09 17:42:23 +09:00
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
2025-09-09 17:42:23 +09:00
</div>
</div>
</div>
<div className="bg-card rounded-lg border p-6 shadow-sm">
2025-09-09 17:42:23 +09:00
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Settings className="text-primary h-6 w-6" />
2025-09-09 17:42:23 +09:00
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
2025-09-09 17:42:23 +09:00
</div>
</div>
</div>
<div className="bg-card rounded-lg border p-6 shadow-sm">
2025-09-09 17:42:23 +09:00
<div className="flex items-center gap-4">
<div className="bg-warning/10 flex h-12 w-12 items-center justify-center rounded-lg">
<BarChart3 className="text-warning h-6 w-6" />
2025-09-09 17:42:23 +09:00
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
2025-09-09 17:42:23 +09:00
</div>
</div>
</div> */}
2025-09-09 17:42:23 +09:00
<Link href="/admin/screenMng" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Palette className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"></h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
2025-09-09 17:42:23 +09:00
</div>
</div>
</Link>
</div>
2025-09-09 17:42:23 +09:00
</div>
{/* 표준 관리 섹션 */}
<div className="mx-auto max-w-7xl space-y-10">
<div className="mb-8 text-center">
<h2 className="text-foreground mb-2 text-2xl font-bold"> </h2>
<p className="text-muted-foreground"> </p>
</div>
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-4">
{/* <Link href="/admin/standards" className="block h-full">
<div className="bg-card hover:bg-muted h-full rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Database className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
2025-09-25 14:22:30 +09:00
</div>
</div>
</Link>
<Link href="/admin/templates" className="block h-full">
<div className="bg-card hover:bg-muted h-full rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-success/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Layout className="text-success h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold">릿 </h3>
<p className="text-muted-foreground text-sm"> 릿 </p>
</div>
2025-09-25 14:22:30 +09:00
</div>
</div>
</Link> */}
<Link href="/admin/tableMng" className="block h-full">
<div className="bg-card hover:bg-muted h-full rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Database className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
2025-09-25 14:22:30 +09:00
</div>
</div>
</Link>
{/* <Link href="/admin/components" className="block h-full">
<div className="bg-card hover:bg-muted h-full rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Package className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
2025-09-25 14:22:30 +09:00
</div>
</div>
</Link> */}
</div>
</div>
{/* 빠른 액세스 */}
<div className="mx-auto max-w-7xl space-y-10">
<div className="mb-8 text-center">
<h2 className="text-foreground mb-2 text-2xl font-bold"> </h2>
<p className="text-muted-foreground"> </p>
</div>
<div className="grid gap-6 md:grid-cols-3">
<Link href="/admin/menu" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Layout className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
2025-09-25 14:22:30 +09:00
</div>
</div>
</Link>
<Link href="/admin/automaticMng/exconList" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-success/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Database className="text-success h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
2025-09-25 14:22:30 +09:00
</div>
</div>
</Link>
<Link href="/admin/systemMng/commonCodeList" className="block">
<div className="bg-card hover:bg-muted rounded-lg border p-6 shadow-sm transition-colors">
<div className="flex items-center gap-4">
<div className="bg-primary/10 flex h-12 w-12 items-center justify-center rounded-lg">
<Settings className="text-primary h-6 w-6" />
</div>
<div>
<h3 className="text-foreground font-semibold"> </h3>
<p className="text-muted-foreground text-sm"> </p>
</div>
</div>
</div>
</Link>
</div>
2025-08-26 17:20:45 +09:00
</div>
{/* 전역 파일 관리 */}
<div className="mx-auto max-w-7xl space-y-6">
<div className="mb-6 text-center">
<h2 className="text-foreground mb-2 text-2xl font-bold"> </h2>
<p className="text-muted-foreground"> </p>
</div>
<GlobalFileViewer />
2025-09-29 13:29:03 +09:00
</div>
</div>
</div>
);
2025-08-21 09:41:46 +09:00
}