'use client';

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

export default function SystemPage() {
  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-3 gap-4">
        <Link href="/central-config/system/settings" 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/system/category" 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/system/dictionary" 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>
  );
}