# Admin Dashboard

System overview and recent activity

## Users

{@user_count}

<.link navigate={~p"/admin/users"} class="text-blue-600 hover:underline text-sm"> View all users →

## Organizations

{@org_count}

<.link navigate={~p"/admin/organizations"} class="text-blue-600 hover:underline text-sm"> View all organizations →

## Recent Audit Logs

<.table id="audit-logs" rows={@recent_logs}> <:col :let={log} label="Action">{log.action} <:col :let={log} label="Superuser">{log.superuser && log.superuser.email} <:col :let={log} label="Target">{log.target_user && log.target_user.email} <:col :let={log} label="Time"> {Calendar.strftime(log.inserted_at, "%Y-%m-%d %H:%M:%S")}