浏览代码

chore: show explore entrance (#211)

tags/0.3.1
Joel 2 年前
父节点
当前提交
fb7f509e5c
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      web/app/components/header/index.tsx
  2. 1
    1
      web/i18n/lang/dataset.zh.ts

+ 2
- 2
web/app/components/header/index.tsx 查看文件

@@ -71,14 +71,14 @@ const Header: FC<IHeaderProps> = ({ appItems, curApp, userProfile, onLogout, lan
</div>
</div>
<div className='flex items-center'>
{/* <Link href="/explore/apps" className={classNames(
<Link href="/explore/apps" className={classNames(
navClassName, 'group',
isExplore && 'bg-white shadow-[0_2px_5px_-1px_rgba(0,0,0,0.05),0_2px_4px_-2px_rgba(0,0,0,0.05)]',
isExplore ? 'text-primary-600' : 'text-gray-500 hover:bg-gray-200 hover:text-gray-700'
)}>
<Squares2X2Icon className='mr-1 w-[18px] h-[18px]' />
{t('common.menus.explore')}
</Link> */}
</Link>
<Nav
icon={<BuildAppsIcon isSelected={['apps', 'app'].includes(selectedSegment || '')} />}
text={t('common.menus.apps')}

+ 1
- 1
web/i18n/lang/dataset.zh.ts 查看文件

@@ -9,7 +9,7 @@ const translation = {
'删除数据集是不可逆的。用户将无法再访问您的数据集,所有的提示配置和日志将被永久删除。',
datasetDeleted: '数据集已删除',
datasetDeleteFailed: '删除数据集失败',
didYouKnow: '你知道吗??',
didYouKnow: '你知道吗?',
intro1: '数据集可以被集成到 Dify 应用中',
intro2: '作为上下文',
intro3: ',',

正在加载...
取消
保存