feat: Implement core e-learning classroom interface, user dashboard pages, authentication composable, and Thai localization.

This commit is contained in:
supalerk-ar66 2026-01-29 11:09:29 +07:00
parent 85d7c5c913
commit 9232b6a21d
5 changed files with 140 additions and 31 deletions

View file

@ -49,7 +49,7 @@ const loadEnrolledCourses = async () => {
: 'IN_PROGRESS'
const res = await fetchEnrolledCourses({
status: activeFilter.value === 'all' ? undefined : (activeFilter.value === 'completed' ? 'COMPLETED' : 'IN_PROGRESS')
status: apiStatus
})
if (res.success) {

View file

@ -268,7 +268,7 @@ onMounted(() => {
size="128"
class="border-4 border-white dark:border-[#1e293b] shadow-2xl bg-slate-800"
/>
<div class="absolute bottom-2 right-2 bg-emerald-500 w-5 h-5 rounded-full border-4 border-white dark:border-[#1e293b]"/>
</div>
<div class="pb-2">
<h2 class="text-3xl font-black text-slate-900 dark:text-white mb-1">{{ userData.firstName }} {{ userData.lastName }}</h2>