'use client';

import React from 'react';
import Link from 'next/link';

export default function UserPage() {
  return (
    <div className="p-6">
      <h1 className="text-2xl font-bold mb-4">用户管理</h1>
      <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
        <Link href="/central-config/user/employee" className="bg-white rounded-lg shadow p-4 hover:shadow-md transition-shadow">
          <h3 className="text-lg font-semibold mb-2">员工管理</h3>
          <p className="text-gray-600 text-sm">管理员工信息</p>
        </Link>
        <Link href="/central-config/user/role" className="bg-white rounded-lg shadow p-4 hover:shadow-md transition-shadow">
          <h3 className="text-lg font-semibold mb-2">角色管理</h3>
          <p className="text-gray-600 text-sm">管理系统角色</p>
        </Link>
        <Link href="/central-config/user/menu" className="bg-white rounded-lg shadow p-4 hover:shadow-md transition-shadow">
          <h3 className="text-lg font-semibold mb-2">菜单管理</h3>
          <p className="text-gray-600 text-sm">管理系统菜单</p>
        </Link>
        <Link href="/central-config/user/permission" className="bg-white rounded-lg shadow p-4 hover:shadow-md transition-shadow">
          <h3 className="text-lg font-semibold mb-2">权限配置</h3>
          <p className="text-gray-600 text-sm">配置系统权限</p>
        </Link>
      </div>
    </div>
  );
}