diff --git a/Frontend-Learner/components/course/CourseCard.vue b/Frontend-Learner/components/course/CourseCard.vue index e7d62570..9c25e842 100644 --- a/Frontend-Learner/components/course/CourseCard.vue +++ b/Frontend-Learner/components/course/CourseCard.vue @@ -67,12 +67,7 @@ const displayDescription = computed(() => getLocalizedText(props.description))
- -
- - {{ category }} - -
+
@@ -117,30 +112,43 @@ const displayDescription = computed(() => getLocalizedText(props.description))
+ +
+ + + + diff --git a/Frontend-Learner/i18n/locales/th.json b/Frontend-Learner/i18n/locales/th.json index a7e4d93b..aa1a3ad8 100644 --- a/Frontend-Learner/i18n/locales/th.json +++ b/Frontend-Learner/i18n/locales/th.json @@ -36,6 +36,7 @@ "certificate": "ใบประกาศ", "available": "มี", "continueLearning": "เรียนต่อทันที", + "startLearning": "เริ่มเรียนทันที", "studyAgain": "ทบทวนบทเรียน", "downloadCertificate": "ดาวน์โหลดประกาศนียบัตร", "completed": "เรียนจบเรียบร้อย" diff --git a/Frontend-Learner/pages/dashboard/my-courses.vue b/Frontend-Learner/pages/dashboard/my-courses.vue index 645eb365..fa37ebcd 100644 --- a/Frontend-Learner/pages/dashboard/my-courses.vue +++ b/Frontend-Learner/pages/dashboard/my-courses.vue @@ -168,6 +168,7 @@ const validCourseId = computed(() => { :progress="course.progress" :image="course.thumbnail_url" show-continue + :show-view-details="false" /> { :completed="true" show-certificate show-study-again + :show-view-details="false" :loading="downloadingCourseId === course.id" @view-certificate="downloadCertificate(course)" />