feat: Implement initial frontend for admin and instructor roles, including dashboards, course management, authentication, and core services.

This commit is contained in:
Missez 2026-02-06 14:58:41 +07:00
parent 832a8f5067
commit 127b63de49
16 changed files with 1505 additions and 102 deletions

View file

@ -54,24 +54,24 @@
</NuxtLink>
<NuxtLink
to="/admin/settings"
to="/admin/audit-logs"
class="flex items-center gap-3 px-4 py-3 rounded-lg hover:bg-primary-100 transition mb-2"
active-class="bg-primary-500 text-white hover:bg-primary-600"
>
<q-icon name="settings" size="24px" />
<span>งคาระบบ</span>
<span>Audit logs</span>
</NuxtLink>
</nav>
<!-- <div class="absolute bottom-0 left-0 right-0 p-4 border-t">
<div class="absolute bottom-0 left-0 right-0 p-4 border-t">
<button
@click="handleLogout"
class="w-full flex items-center gap-3 px-4 py-3 text-red-600 hover:bg-red-50 rounded-lg transition"
>
<span>🚪</span>
<q-icon name="logout" size="24px" />
<span>ออกจากระบบ</span>
</button>
</div> -->
</div>
</aside>
<!-- Main Content -->