fenghuo/apps/web/app/upload/page.tsx

44 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use client';
import { FileUpload } from '../../components/FileUpload';
import { FileDownload } from '../../components/FileDownload';
import { AdvancedFileDownload } from '../../components/AdvancedFileDownload';
import { DownloadTester } from '../../components/DownloadTester';
export default function UploadPage() {
return (
<div className="min-h-screen bg-gray-50">
<div className="container mx-auto py-8">
<div className="text-center mb-8">
<h1 className="text-3xl font-bold text-gray-900 mb-2"></h1>
<p className="text-gray-600"></p>
</div>
{/* 上传组件 */}
<div className="mb-8">
<h2 className="text-xl font-semibold mb-4">📤 </h2>
<FileUpload />
</div>
{/* 下载测试组件 */}
<div className="mb-8">
<h2 className="text-xl font-semibold mb-4">🔧 </h2>
<DownloadTester />
</div>
z
<div className="grid grid-cols-1 lg:grid-cols-2 gap-8">
{/* 基础下载组件 */}
<div>
<h2 className="text-xl font-semibold mb-4">📥 </h2>
<FileDownload />
</div>
{/* 高级下载组件 */}
<div>
<h2 className="text-xl font-semibold mb-4">🚀 </h2>
<AdvancedFileDownload />
</div>
</div>
</div>
</div>
);
}