Преглед изворни кода

chore: show explore entrance (#211)

Joel пре 1 година
родитељ
комит
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: ',',