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:
parent
6d31cc2e45
commit
0fc67bf9c3
3 changed files with 24 additions and 13 deletions
|
|
@ -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)"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue