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.html', zh_Hans: 'https://docs.langbot.app/zh/usage/platforms/readme.html', ja_JP: 'https://docs.langbot.app/ja/usage/platforms/readme.html', }, }), 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.html', zh_Hans: 'https://docs.langbot.app/zh/usage/pipelines/readme.html', ja_JP: 'https://docs.langbot.app/ja/usage/pipelines/readme.html', }, }), 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.html', zh_Hans: 'https://docs.langbot.app/zh/usage/knowledge/readme.html', ja_JP: 'https://docs.langbot.app/ja/usage/knowledge/readme.html', }, }), 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.html', zh_Hans: 'https://docs.langbot.app/zh/usage/plugin/plugin-intro.html', ja_JP: 'https://docs.langbot.app/ja/usage/plugin/plugin-intro.html', }, }), ];