feat: implement My Courses page with a new CourseCard component and certificate download functionality, along with new Thai locale strings.

This commit is contained in:
supalerk-ar66 2026-02-09 14:30:05 +07:00
parent 6d31cc2e45
commit 0fc67bf9c3
3 changed files with 24 additions and 13 deletions

View file

@ -168,6 +168,7 @@ const validCourseId = computed(() => {
:progress="course.progress"
:image="course.thumbnail_url"
show-continue
:show-view-details="false"
/>
<!-- Completed Course Card -->
<CourseCard
@ -179,6 +180,7 @@ const validCourseId = computed(() => {
:completed="true"
show-certificate
show-study-again
:show-view-details="false"
:loading="downloadingCourseId === course.id"
@view-certificate="downloadCertificate(course)"
/>