chore: show explore entrance (#211)

This commit is contained in:
Joel 2023-05-25 21:49:12 +08:00 committed by GitHub
parent 1a5acf43aa
commit fb7f509e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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