import React from 'react'; import { UploadStatus } from './types'; import { FileUploader } from './components/FileUploader'; import { UploadList } from './components/UploadList'; import { Upload, Rocket, Database, ShieldCheck, Zap, LayoutGrid } from 'lucide-react'; import { useFileUpload } from './hooks/useFileUpload'; export default function App() { const { files, isUploading, addFiles, removeFile, updateFilePath, startUpload } = useFileUpload(); const hasPendingFiles = files.some(f => f.status === UploadStatus.IDLE || f.status === UploadStatus.ERROR); return (
{/* Header */}

Twan Uploader

Secure Connection Active

{/* Main Content */}
{/* Intro */}

Upload Databases to Twan Data Center

The fastest, most secure way to manage your machine learning Databases. Bulk upload files directly to the Twan.

{/* Upload Area */}

Select Dataset Files

{/* File Queue */}
{/* Upload Action */} {files.length > 0 && (
)}
{/* SEO Footer */}
); }