feat: add core user pages for my courses, profile settings, course discovery, and learning classroom.

This commit is contained in:
supalerk-ar66 2026-02-02 15:34:40 +07:00
parent 4c9b6b0f3f
commit 2e0675f1c9
4 changed files with 4 additions and 4 deletions

View file

@ -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')));

View file

@ -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) => {

View file

@ -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(() => {

View file

@ -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)