'use client';

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

export default function TenantPage() {
  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/tenant/enterprise-audit" 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/tenant/audit-history" 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/tenant/enterprise-info" 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/tenant/user-management" 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>
  );
}