feat(vocab): add lesson review functionality and update navigation
All checks were successful
Deploy to production / deploy (push) Successful in 2m46s
All checks were successful
Deploy to production / deploy (push) Successful in 2m46s
- Introduced VocabLessonReviewView for reviewing lessons within the vocabulary course structure. - Updated routing in socialRoutes.js to include a new path for lesson reviews, ensuring authenticated access. - Modified VocabCourseView to change the lesson button click behavior to navigate to the review view, enhancing user flow. - Added a new method to handle lesson review navigation, improving the overall user experience in the vocabulary section.
This commit is contained in:
@@ -13,6 +13,7 @@ const VocabChapterView = () => import('../views/social/VocabChapterView.vue');
|
||||
const VocabCourseListView = () => import('../views/social/VocabCourseListView.vue');
|
||||
const VocabCourseView = () => import('../views/social/VocabCourseView.vue');
|
||||
const VocabLessonView = () => import('../views/social/VocabLessonView.vue');
|
||||
const VocabLessonReviewView = () => import('../views/social/VocabLessonReviewView.vue');
|
||||
const EroticAccessView = () => import('../views/social/EroticAccessView.vue');
|
||||
const EroticPicturesView = () => import('../views/social/EroticPicturesView.vue');
|
||||
const EroticVideosView = () => import('../views/social/EroticVideosView.vue');
|
||||
@@ -121,6 +122,13 @@ const socialRoutes = [
|
||||
props: true,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/vocab/courses/:courseId/lessons/:lessonId/review',
|
||||
name: 'VocabLessonReview',
|
||||
component: VocabLessonReviewView,
|
||||
props: true,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/socialnetwork/vocab/courses/:courseId/lessons/:lessonId',
|
||||
name: 'VocabLesson',
|
||||
|
||||
Reference in New Issue
Block a user