import { SidebarChildVO } from '@/app/home/components/home-sidebar/HomeSidebarChild'; import styles from './HomeSidebar.module.css'; import i18n from '@/i18n'; const t = (key: string) => { return i18n.t(key); }; export const sidebarConfigList = [ new SidebarChildVO({ id: 'bots', name: t('bots.title'), icon: ( ), route: '/home/bots', description: t('bots.description'), helpLink: 'https://docs.langbot.app/zh/deploy/platforms/readme.html', }), new SidebarChildVO({ id: 'models', name: t('models.title'), icon: ( ), route: '/home/models', description: t('models.description'), helpLink: 'https://docs.langbot.app/zh/deploy/models/readme.html', }), new SidebarChildVO({ id: 'pipelines', name: t('pipelines.title'), icon: ( ), route: '/home/pipelines', description: t('pipelines.description'), helpLink: 'https://docs.langbot.app/zh/deploy/pipelines/readme.html', }), new SidebarChildVO({ id: 'plugins', name: t('plugins.title'), icon: ( ), route: '/home/plugins', description: t('plugins.description'), helpLink: 'https://docs.langbot.app/zh/plugin/plugin-intro.html', }), ];