feat: add core user pages for my courses, profile settings, course discovery, and learning classroom.
This commit is contained in:
parent
4c9b6b0f3f
commit
2e0675f1c9
4 changed files with 4 additions and 4 deletions
|
|
@ -32,7 +32,7 @@ const showAllCategories = ref(false);
|
|||
const { t } = useI18n();
|
||||
const { fetchCategories } = useCategory();
|
||||
const { fetchCourses, fetchCourseById, enrollCourse } = useCourse();
|
||||
// const { currentUser } = useAuth() // Unused
|
||||
|
||||
|
||||
// 2. Computed Properties
|
||||
const sortOption = ref(computed(() => t('discovery.sortRecent')));
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ const isPlaying = ref(false)
|
|||
const videoProgress = ref(0)
|
||||
const currentTime = ref(0)
|
||||
const duration = ref(0)
|
||||
// const saveProgressInterval = ref<any>(null) // Removed unused interval
|
||||
|
||||
|
||||
// Helper for localization
|
||||
const getLocalizedText = (text: any) => {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ useHead({
|
|||
const route = useRoute()
|
||||
const showEnrollModal = ref(false)
|
||||
const activeFilter = ref<'all' | 'progress' | 'completed'>('all')
|
||||
// const { currentUser } = useAuth() // Unused
|
||||
|
||||
|
||||
// Check URL query parameters to show 'Enrollment Success' modal
|
||||
onMounted(() => {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ useHead({
|
|||
|
||||
const { currentUser, updateUserProfile, changePassword, uploadAvatar, sendVerifyEmail } = useAuth()
|
||||
const { t } = useI18n()
|
||||
// const { errors, validate, clearFieldError } = useFormValidation() // Unused
|
||||
|
||||
|
||||
|
||||
const isEditing = ref(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue