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

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 }
    },
];

export default socialRoutes;
