feat: Add core e-learning pages for authentication, course discovery, learning, and user dashboard.
This commit is contained in:
parent
c4f68eb927
commit
9629f79c52
5 changed files with 13 additions and 65 deletions
|
|
@ -18,7 +18,7 @@ useHead({
|
|||
const route = useRoute()
|
||||
const showEnrollModal = ref(false)
|
||||
const activeFilter = ref<'all' | 'progress' | 'completed'>('all')
|
||||
const { currentUser } = useAuth()
|
||||
// const { currentUser } = useAuth() // Unused
|
||||
|
||||
// Check URL query parameters to show 'Enrollment Success' modal
|
||||
onMounted(() => {
|
||||
|
|
@ -87,7 +87,7 @@ onMounted(() => {
|
|||
// Certificate Handling
|
||||
const downloadingCourseId = ref<number | null>(null)
|
||||
// Certificate Handling
|
||||
// Certificate Handling
|
||||
|
||||
const downloadCertificate = async (course: any) => {
|
||||
if (!course) return
|
||||
downloadingCourseId.value = course.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue