"use client"; import { useRouter } from "next/navigation"; import { useAuth } from "@/hooks/useAuth"; import { FileCheck, Menu, Users, Bell, FileText, Layout, Server, Shield, Calendar, ArrowRight } from "lucide-react"; const quickAccessItems = [ { label: "결재함", icon: FileCheck, href: "/admin/approvalBox", color: "text-primary bg-primary/10" }, { label: "메뉴 관리", icon: Menu, href: "/admin/menu", color: "text-violet-600 bg-violet-50" }, { label: "사용자 관리", icon: Users, href: "/admin/userMng", color: "text-emerald-600 bg-emerald-50" }, { label: "공지사항", icon: Bell, href: "/admin/system-notices", color: "text-amber-600 bg-amber-50" }, { label: "감사 로그", icon: FileText, href: "/admin/audit-log", color: "text-rose-600 bg-rose-50" }, { label: "화면 관리", icon: Layout, href: "/admin/screenMng", color: "text-cyan-600 bg-cyan-50" }, ]; export default function MainHomePage() { const router = useRouter(); const { user } = useAuth(); const userName = user?.userName || "사용자"; const today = new Date(); const dateStr = today.toLocaleDateString("ko-KR", { year: "numeric", month: "long", day: "numeric", weekday: "long" }); return (
{dateStr}
플랫폼
WACE ERP/PLM
버전
v2.0.0
오늘 날짜
{today.toLocaleDateString("ko-KR", { year: "numeric", month: "long", day: "numeric" })}