import FriendsView from '../views/social/FriendsView.vue';
import SearchView from '../views/social/SearchView.vue';
import GalleryView from '../views/social/GalleryView.vue';
import GuestbookView from '../views/social/GuestbookView.vue';
import DiaryView from '../views/social/DiaryView.vue';
import ForumView from '../views/social/ForumView.vue';
import ForumTopicView from '../views/social/ForumTopicView.vue';
import VocabTrainerView from '../views/social/VocabTrainerView.vue';
import VocabNewLanguageView from '../views/social/VocabNewLanguageView.vue';
import VocabLanguageView from '../views/social/VocabLanguageView.vue';
import VocabSubscribeView from '../views/social/VocabSubscribeView.vue';
import VocabChapterView from '../views/social/VocabChapterView.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/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/:languageId',
        name: 'VocabLanguage',
        component: VocabLanguageView,
        meta: { requiresAuth: true }
    },
    {
        path: '/socialnetwork/vocab/:languageId/chapters/:chapterId',
        name: 'VocabChapter',
        component: VocabChapterView,
        meta: { requiresAuth: true }
    },
];

export default socialRoutes;
