import React from 'react'; import { FolderOpen, Grid3X3, Play, Trash2, Zap } from 'lucide-react'; import { ServerArchive } from '../types'; interface ArchiveDashboardProps { archives: ServerArchive[]; localArchives?: any[]; cachedArchives: Set; onSelect: (archive: ServerArchive) => void; onLocalSelect: () => void; onLocalCacheSelect: (archive: any) => void; onClearCache: (name: string) => void; isScanning: boolean; } export const ArchiveDashboard: React.FC = ({ archives, localArchives = [], cachedArchives, onSelect, onLocalSelect, onLocalCacheSelect, onClearCache, isScanning }) => { return (

Archive Explorer

Browse hosted collections or open a local archive folder. All processing happens locally in your browser for maximum privacy.

{/* Local Folder Card */} {/* Server Archives */} {archives.map((archive) => { const isCached = cachedArchives.has(archive.name); return (
{isCached && ( )}
); })} {/* Local Cached Archives */} {localArchives.map((archive) => (
))}
); };