| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- import { canSeeUserProfilePanel } from 'src/router/middleware/middleware'
- export default {
- path: '',
- name: 'Public',
- component: () => import('layouts/bareLayout.vue'),
- meta: { middlewares: [canSeeUserProfilePanel] },
- children: [
- {
- name: 'Public.Home',
- path: '',
- layoutConfig: {
- layoutView: 'lhh Lpr fff'
- },
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/index.vue')
- },
- {
- path: 'post',
- name: 'Public.Post',
- component: () => import('layouts/bareLayout.vue'),
- children: [
- { path: '', name: 'Public.Post.List', component: () => import('src/pages/Public/Post/List.vue') },
- { path: 'news', name: 'Public.Post.List.News', component: () => import('src/pages/Public/Post/News.vue') },
- { path: 'guide', name: 'Public.Post.List.Guide', component: () => import('src/pages/Public/Post/Guide.vue') },
- { path: ':id', name: 'Public.Post.Show', component: () => import('src/pages/Public/Post/Show.vue') }
- ]
- },
- { path: 'post_category/:category_id', name: 'Public.PostCategory.Show', component: () => import('src/pages/Public/Post/ChildCategoryPostList.vue') },
- {
- name: 'Public.AllClassrooms',
- path: 'all-classrooms',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/classrooms.vue')
- },
- {
- name: 'Public.ShowClassroomInfo',
- path: 'classroom/:id',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/ShowClassroomInfo.vue')
- },
- {
- name: 'Public.AllEvents',
- path: 'all-events',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/Events.vue')
- },
- {
- name: 'Public.ShowEventInfo',
- path: 'event/:id',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/ShowEventInfo.vue')
- },
- {
- path: 'donation-category',
- name: 'Public.DonationCategory',
- component: () => import('layouts/bareLayout.vue'),
- children: [
- { path: '', name: 'Public.DonationCategory.List', component: () => import('src/pages/BasicDynamicPage.vue') },
- { path: ':donation_category_id', name: 'Public.DonationCategory.Show', component: () => import('src/pages/BasicDynamicPage.vue') },
- { path: ':donation_category_id/donation', name: 'Public.DonationCategory.Donation.list', component: () => import('src/pages/BasicDynamicPage.vue') },
- { path: ':donation_category_id/donation/:donation_id', name: 'Public.DonationCategory.Donation.Show', component: () => import('src/pages/BasicDynamicPage.vue') }
- ]
- },
- {
- name: 'Public.FAQ',
- path: 'faq',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/FAQ.vue')
- },
- {
- name: 'Public.Rules',
- path: 'rules',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/Rules.vue')
- },
- {
- name: 'Public.AboutUs',
- path: 'about-us',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/AboutUs.vue')
- },
- {
- name: 'Public.ContactUs',
- path: 'contact-us',
- meta: {
- hasDynamicSetting: true
- },
- component: () => import('src/pages/Public/ContactUs.vue')
- }
- ]
- }
|