feat: Implement My Courses page with course cards, filtering, and certificate download functionality.
This commit is contained in:
parent
9ed2347843
commit
c4f68eb927
4 changed files with 107 additions and 157 deletions
|
|
@ -37,6 +37,8 @@ interface CourseCardProps {
|
|||
showStudyAgain?: boolean
|
||||
/** URL for course thumbnail image */
|
||||
image?: string
|
||||
/** Loading state for actions */
|
||||
loading?: boolean
|
||||
}
|
||||
|
||||
const props = defineProps<CourseCardProps>()
|
||||
|
|
@ -156,6 +158,7 @@ const displayDescription = computed(() => getLocalizedText(props.description))
|
|||
class="w-full font-black shadow-lg shadow-emerald-600/20"
|
||||
style="background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white;"
|
||||
:label="$t('course.downloadCertificate')"
|
||||
:loading="loading"
|
||||
@click="emit('viewCertificate')"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue