import { User, Shield, UserCheck, Search, Plus } from 'lucide-react'; import { AppLayout } from '@/components/layout/AppLayout'; import { cn } from '@/lib/utils'; const mockUsers = [ { id: '1', name: 'Arjun Sharma', email: 'arjun@eventify.in', role: 'admin', status: 'active', lastActive: new Date() }, { id: '2', name: 'Priya Patel', email: 'priya@eventify.in', role: 'support', status: 'active', lastActive: new Date(Date.now() - 1000 * 60 * 30) }, { id: '3', name: 'Rahul Kumar', email: 'rahul@eventify.in', role: 'viewer', status: 'inactive', lastActive: new Date(Date.now() - 1000 * 60 * 60 * 24 * 3) }, ]; export default function Users() { return ( {/* Quick Stats */}

8

Total Users

3

Admins

6

Active Now

{/* Users Table */}

Platform Users

{mockUsers.map((user) => ( ))}
User Role Status Last Active Actions
{user.name.split(' ').map(n => n[0]).join('')}

{user.name}

{user.email}

{user.role} {user.status === 'active' ? 'Active' : 'Inactive'} {user.lastActive.toLocaleDateString('en-IN', { day: 'numeric', month: 'short', hour: '2-digit', minute: '2-digit' })}
); }