Unverified Commit fb7f509e authored by Joel's avatar Joel Committed by GitHub

chore: show explore entrance (#211)

parent 1a5acf43
...@@ -71,14 +71,14 @@ const Header: FC<IHeaderProps> = ({ appItems, curApp, userProfile, onLogout, lan ...@@ -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')}
......
...@@ -9,7 +9,7 @@ const translation = { ...@@ -9,7 +9,7 @@ const translation = {
'删除数据集是不可逆的。用户将无法再访问您的数据集,所有的提示配置和日志将被永久删除。', '删除数据集是不可逆的。用户将无法再访问您的数据集,所有的提示配置和日志将被永久删除。',
datasetDeleted: '数据集已删除', datasetDeleted: '数据集已删除',
datasetDeleteFailed: '删除数据集失败', datasetDeleteFailed: '删除数据集失败',
didYouKnow: '你知道吗??', didYouKnow: '你知道吗?',
intro1: '数据集可以被集成到 Dify 应用中', intro1: '数据集可以被集成到 Dify 应用中',
intro2: '作为上下文', intro2: '作为上下文',
intro3: ',', intro3: ',',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment