'use client';

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

export default function MessagePage() {
  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/message/send" 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/message/template" 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/message/log" 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>
  );
}