'use client'; import { useState } from 'react'; import Link from 'next/link'; import styles from './dms.module.css'; import SmartSearchModal from '@/components/dms/SmartSearchModal'; // We'll need to create this export default function DMSDashboard() { const [stats] = useState({ totalFiles: 1240, usedStorage: '4.2 GB', totalStorage: '10 GB', recentUploads: 5 }); const recentDocs = [ { id: 1, name: 'Project_Alpha_proposal.pdf', type: 'PDF', size: '2.4 MB', date: '2024-11-20' }, { id: 2, name: 'Invoice_Nov_2024.pdf', type: 'PDF', size: '1.1 MB', date: '2024-11-19' }, { id: 3, name: 'Site_Images_Nov.zip', type: 'ZIP', size: '15 MB', date: '2024-11-18' }, { id: 4, name: 'Meeting_Notes_Q3.docx', type: 'DOCX', size: '450 KB', date: '2024-11-15' }, ]; const [showSearch, setShowSearch] = useState(false); return (
Securely manage and organize your digital assets
{stats.totalFiles}
{stats.usedStorage} / {stats.totalStorage}
{stats.recentUploads} this week
| Name | Type | Size | Date | Action |
|---|---|---|---|---|
|
📄
{doc.name}
|
{doc.type} | {doc.size} | {doc.date} |
Find documents by content or tags
Organize files with custom labels
Recover deleted items