const document: AuthRoute.Route = {
  name: 'document',
  path: '/document',
  component: 'basic',
  children: [
    {
      name: 'document_vue',
      path: '/document/vue',
      component: 'self',
      meta: {
        title: 'vue文档',
        i18nTitle: 'message.routes.document.vue',
        requiresAuth: true,
        icon: 'logos:vue'
      }
    },
    {
      name: 'document_vite',
      path: '/document/vite',
      component: 'self',
      meta: {
        title: 'vite文档',
        i18nTitle: 'message.routes.document.vite',
        requiresAuth: true,
        icon: 'logos:vitejs'
      }
    },
    {
      name: 'document_naive',
      path: '/document/naive',
      component: 'self',
      meta: {
        title: 'naive文档',
        i18nTitle: 'message.routes.document.naive',
        requiresAuth: true,
        icon: 'logos:naiveui'
      }
    },
    {
      name: 'document_project',
      path: '/document/project',
      component: 'self',
      meta: {
        title: '项目文档',
        i18nTitle: 'message.routes.document.project',
        requiresAuth: true,
        localIcon: 'logo'
      }
    },
    {
      name: 'document_project-link',
      path: '/document/project-link',
      meta: {
        title: '项目文档(外链)',
        i18nTitle: 'message.routes.document.project-link',
        requiresAuth: true,
        localIcon: 'logo',
        href: 'https://docs.soybean.pro/'
      }
    }
  ],
  meta: {
    title: '文档',
    i18nTitle: 'message.routes.document._value',
    icon: 'mdi:file-document-multiple-outline',
    order: 2
  }
};

export default document;
