You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
888 B

4 years ago
import React from 'react'
4 years ago
import { FaFileAlt, FaScroll, FaBookOpen, FaTags, FaUserCircle } from 'react-icons/fa'
4 years ago
import { Route } from 'src/types/route'
import { ReserveUrls } from './reserve-urls'
export const editorLinks: Route[] = [{
title: '文章',
path: `${ReserveUrls.Editor}/posts`,
icon: <FaFileAlt />,
disabled: false
},
{
title: '系列',
path: `${ReserveUrls.Editor}/series`,
icon: <FaBookOpen />,
disabled: false
},
{
title: '课程',
path: `${ReserveUrls.Editor}/course`,
icon: <FaScroll />,
disabled: false
}
]
export const adminLinks: Route[] = [{
title: '标签管理',
path: `${ReserveUrls.Admin}/tags`,
icon: <FaTags />,
disabled: false
4 years ago
}]
export const settingLinks: Route[] = [{
title: '用户设置',
path: `${ReserveUrls.Settings}/profile`,
icon: <FaUserCircle />,
disabled: false
}]