import Banners from '../modules/banners/views/index.vue';
import Cookies from '../modules/cookies/views/index.vue';
import Policies from '../modules/policies/views/index.vue';
import Languages from '../modules/languages/views/index.vue';
import EditContent from '../modules/languages/views/EditContent.vue';
import ConsentLogs from '../modules/consentlogs/views/index.vue';
import License from '../modules/license/views/index.vue';
import Advanced from '../modules/advanced/views/index.vue';
import gcm from '../modules/gcm/views/index.vue';
import mcm from '../modules/mcm/views/index.vue';

export const routes = [
  {
    path: '/customize',
    name: 'customize',
    component: Banners

  },
  {
    path: '/cookies',
    name: 'cookies',
    component: Cookies

  },
  {
    path: '/logs',
    name: 'logs',
    component: ConsentLogs

  },
  {
    path: '/policies',
    name: 'policies',
    component: Policies

  },
  {
    path: '/license',
    name: 'license',
    component: License
  },
  {
    path: '/languages',
    name: 'languages',
    component: Languages,
    children: [
      {
        path: "edit/:language",
        name: 'edit',
        component: EditContent
      }
    ]
  },
  {
    path: '/advanced',
    name: 'advanced',
    component: Advanced
  },
  {
    path: '/gcm',
    name: 'gcm',
    component: gcm
  },
  {
    path: '/mcm',
    name: 'mcm',
    component: mcm
  }
]