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: { en_US: 'https://docs.langbot.app/en/usage/platforms/readme', zh_Hans: 'https://docs.langbot.app/zh/usage/platforms/readme', ja_JP: 'https://docs.langbot.app/ja/usage/platforms/readme', }, }), new SidebarChildVO({ id: 'pipelines', name: t('pipelines.title'), icon: ( ), route: '/home/pipelines', description: t('pipelines.description'), helpLink: { en_US: 'https://docs.langbot.app/en/usage/pipelines/readme', zh_Hans: 'https://docs.langbot.app/zh/usage/pipelines/readme', ja_JP: 'https://docs.langbot.app/ja/usage/pipelines/readme', }, }), new SidebarChildVO({ id: 'monitoring', name: t('monitoring.title'), icon: ( ), route: '/home/monitoring', description: t('monitoring.description'), helpLink: { en_US: '', zh_Hans: '', }, }), new SidebarChildVO({ id: 'knowledge', name: t('knowledge.title'), icon: ( ), route: '/home/knowledge', description: t('knowledge.description'), helpLink: { en_US: 'https://docs.langbot.app/en/usage/knowledge/readme', zh_Hans: 'https://docs.langbot.app/zh/usage/knowledge/readme', ja_JP: 'https://docs.langbot.app/ja/usage/knowledge/readme', }, }), new SidebarChildVO({ id: 'plugins', name: t('plugins.title'), icon: ( ), route: '/home/plugins', description: t('plugins.description'), helpLink: { en_US: 'https://docs.langbot.app/en/usage/plugin/plugin-intro', zh_Hans: 'https://docs.langbot.app/zh/usage/plugin/plugin-intro', ja_JP: 'https://docs.langbot.app/ja/usage/plugin/plugin-intro', }, }), ];