155 lines
5.1 KiB
JavaScript
Executable File
155 lines
5.1 KiB
JavaScript
Executable File
const FriendsView = () => import('../views/social/FriendsView.vue');
|
|
const SearchView = () => import('../views/social/SearchView.vue');
|
|
const GalleryView = () => import('../views/social/GalleryView.vue');
|
|
const GuestbookView = () => import('../views/social/GuestbookView.vue');
|
|
const DiaryView = () => import('../views/social/DiaryView.vue');
|
|
const ForumView = () => import('../views/social/ForumView.vue');
|
|
const ForumTopicView = () => import('../views/social/ForumTopicView.vue');
|
|
const VocabTrainerView = () => import('../views/social/VocabTrainerView.vue');
|
|
const VocabNewLanguageView = () => import('../views/social/VocabNewLanguageView.vue');
|
|
const VocabLanguageView = () => import('../views/social/VocabLanguageView.vue');
|
|
const VocabSubscribeView = () => import('../views/social/VocabSubscribeView.vue');
|
|
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 VocabDictionaryView = () => import('../views/social/VocabDictionaryView.vue');
|
|
const EroticAccessView = () => import('../views/social/EroticAccessView.vue');
|
|
const EroticPicturesView = () => import('../views/social/EroticPicturesView.vue');
|
|
const EroticVideosView = () => import('../views/social/EroticVideosView.vue');
|
|
|
|
const socialRoutes = [
|
|
{
|
|
path: '/friends',
|
|
name: 'Friends',
|
|
component: FriendsView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/guestbook',
|
|
name: 'Guestbook',
|
|
component: GuestbookView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/search',
|
|
name: 'Search users',
|
|
component: SearchView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/gallery',
|
|
name: 'Gallery',
|
|
component: GalleryView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/erotic/access',
|
|
name: 'EroticAccess',
|
|
component: EroticAccessView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/erotic/pictures',
|
|
name: 'EroticPictures',
|
|
component: EroticPicturesView,
|
|
meta: { requiresAuth: true, requiresAdultArea: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/erotic/videos',
|
|
name: 'EroticVideos',
|
|
component: EroticVideosView,
|
|
meta: { requiresAuth: true, requiresAdultArea: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/forum/:id',
|
|
name: 'Forum',
|
|
component: ForumView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/forumtopic/:id',
|
|
name: 'ForumTopic',
|
|
component: ForumTopicView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/diary',
|
|
name: 'Diary',
|
|
component: DiaryView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab',
|
|
name: 'VocabTrainer',
|
|
component: VocabTrainerView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/new',
|
|
name: 'VocabNewLanguage',
|
|
component: VocabNewLanguageView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/subscribe',
|
|
name: 'VocabSubscribe',
|
|
component: VocabSubscribeView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/courses',
|
|
name: 'VocabCourses',
|
|
component: VocabCourseListView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/courses/:courseId/dictionary',
|
|
name: 'VocabCourseDictionary',
|
|
component: VocabDictionaryView,
|
|
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',
|
|
component: VocabLessonView,
|
|
props: true,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/courses/:courseId',
|
|
name: 'VocabCourse',
|
|
component: VocabCourseView,
|
|
props: true,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/:languageId/dictionary',
|
|
name: 'VocabLanguageDictionary',
|
|
component: VocabDictionaryView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/:languageId/chapters/:chapterId',
|
|
name: 'VocabChapter',
|
|
component: VocabChapterView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/socialnetwork/vocab/:languageId',
|
|
name: 'VocabLanguage',
|
|
component: VocabLanguageView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
];
|
|
|
|
export default socialRoutes;
|