feat: Implement core e-learning classroom interface, user dashboard pages, authentication composable, and Thai localization.
This commit is contained in:
parent
85d7c5c913
commit
9232b6a21d
5 changed files with 140 additions and 31 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue