ybt | da5978b | 2025-05-31 15:58:05 +0800 | [diff] [blame] | 1 | import React from 'react'; |
| 2 | import { Card, Typography, Button } from 'antd'; |
| 3 | import { ToolOutlined, CloudDownloadOutlined, AppstoreOutlined } from '@ant-design/icons'; |
| 4 | |
| 5 | const { Title, Paragraph } = Typography; |
| 6 | |
| 7 | const ToolsPage = () => ( |
| 8 | <div className="space-y-6"> |
| 9 | <Title level={2}>工具箱</Title> |
| 10 | <Paragraph className="text-slate-500"> |
| 11 | 这里提供了一些有用的PT相关工具和资源。 |
| 12 | </Paragraph> |
| 13 | |
| 14 | <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> |
| 15 | <Card |
| 16 | title="分享率计算器" |
| 17 | extra={<ToolOutlined />} |
| 18 | className="shadow-sm hover:shadow-md transition-shadow" |
| 19 | > |
| 20 | <p>计算所需上传量以达到目标分享率。</p> |
| 21 | <Button type="link" className="mt-2">使用工具</Button> |
| 22 | </Card> |
| 23 | |
| 24 | <Card |
| 25 | title="批量下载工具" |
| 26 | extra={<CloudDownloadOutlined />} |
| 27 | className="shadow-sm hover:shadow-md transition-shadow" |
| 28 | > |
| 29 | <p>一键下载多个种子文件。</p> |
| 30 | <Button type="link" className="mt-2">使用工具</Button> |
| 31 | </Card> |
| 32 | |
| 33 | <Card |
| 34 | title="MediaInfo 解析器" |
| 35 | extra={<AppstoreOutlined />} |
| 36 | className="shadow-sm hover:shadow-md transition-shadow" |
| 37 | > |
| 38 | <p>解析并美化展示MediaInfo信息。</p> |
| 39 | <Button type="link" className="mt-2">使用工具</Button> |
| 40 | </Card> |
| 41 | </div> |
| 42 | </div> |
| 43 | ); |
| 44 | |
| 45 | export default ToolsPage; |