feat(web): add React workbench administration UI
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { Link } from 'react-router-dom'
|
||||
import './training-map.css'
|
||||
export function ContentTabs({ map = false }: { map?: boolean }) {
|
||||
return <nav className="tm-tabs" aria-label="内容生成标签"><Link aria-current={!map ? 'page' : undefined} to="/admin/tasks">内容任务</Link><Link aria-current={map ? 'page' : undefined} to="/admin/training-maps">训练营导图</Link></nav>
|
||||
}
|
||||
Reference in New Issue
Block a user