add admin links

This commit is contained in:
Graham McIntire 2026-02-01 12:37:50 -06:00
parent 612bed2dd5
commit 6bdd90fd97
No known key found for this signature in database

View file

@ -5,7 +5,7 @@
<p class="text-gray-600 dark:text-gray-400">System overview and recent activity</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="bg-white dark:bg-gray-800/50 rounded-lg border border-gray-200 dark:border-white/10 p-6">
<h2 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">Users</h2>
<p class="text-3xl font-bold text-gray-900 dark:text-white">{@user_count}</p>
@ -27,6 +27,38 @@
View all organizations →
</.link>
</div>
<div class="bg-white dark:bg-gray-800/50 rounded-lg border border-gray-200 dark:border-white/10 p-6">
<h2 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
<.icon name="hero-queue-list" class="w-5 h-5 inline mr-1" />
Oban Dashboard
</h2>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">
Monitor background jobs and queues
</p>
<.link
navigate={~p"/admin/oban"}
class="text-blue-600 dark:text-blue-400 hover:underline text-sm"
>
Open Oban →
</.link>
</div>
<div class="bg-white dark:bg-gray-800/50 rounded-lg border border-gray-200 dark:border-white/10 p-6">
<h2 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
<.icon name="hero-chart-bar" class="w-5 h-5 inline mr-1" />
LiveDashboard
</h2>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">
System metrics and performance
</p>
<.link
navigate={~p"/admin/dashboard"}
class="text-blue-600 dark:text-blue-400 hover:underline text-sm"
>
Open Dashboard →
</.link>
</div>
</div>
<div class="bg-white dark:bg-gray-800/50 rounded-lg border border-gray-200 dark:border-white/10">