import { Card, Row, Col, Typography, Space } from 'antd' import { Link } from 'react-router-dom' import { RobotOutlined, TranslationOutlined, FileTextOutlined, EditOutlined } from '@ant-design/icons' const { Title, Paragraph } = Typography const cards = [ { title: '测试页面 1', description: 'Dify AI Agent 集成示例', icon: , link: '/test1' }, { title: '测试页面 2', description: '功能开发中...', icon: , link: '/test2' }, { title: '中英翻译器', description: 'AI 驱动的翻译工具', icon: , link: '/zh-en-translator' }, { title: '错别字检测', description: '智能检测和纠正中文文本中的错别字', icon: , link: '/spell-check' }, { title: '错别字检测与修正系统', description: '更智能的错别字检测与修正系统,支持分类和建议', icon: , link: '/spell-check-system' } ] const HomePage: React.FC = () => { return (
欢迎使用 AI 办公助手 选择下方功能开始使用,或通过顶部导航访问其他页面。 {cards.map((card, index) => ( {card.icon} {card.title} {card.description} ))}
) } export default HomePage