|
|
|
@ -33,6 +33,7 @@ import { useModalContext } from '@/context/modal-context'
|
|
|
|
import { IS_CLOUD_EDITION } from '@/config'
|
|
|
|
import { IS_CLOUD_EDITION } from '@/config'
|
|
|
|
import cn from '@/utils/classnames'
|
|
|
|
import cn from '@/utils/classnames'
|
|
|
|
import { useGlobalPublicStore } from '@/context/global-public-context'
|
|
|
|
import { useGlobalPublicStore } from '@/context/global-public-context'
|
|
|
|
|
|
|
|
import { getDocLink } from '@/context/i18n'
|
|
|
|
|
|
|
|
|
|
|
|
export default function AppSelector() {
|
|
|
|
export default function AppSelector() {
|
|
|
|
const itemClassName = `
|
|
|
|
const itemClassName = `
|
|
|
|
@ -133,7 +134,7 @@ export default function AppSelector() {
|
|
|
|
className={cn(itemClassName, 'group justify-between',
|
|
|
|
className={cn(itemClassName, 'group justify-between',
|
|
|
|
'data-[active]:bg-state-base-hover',
|
|
|
|
'data-[active]:bg-state-base-hover',
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
href={`https://docs.dify.ai/${docLanguage}/introduction`}
|
|
|
|
href={getDocLink('/introduction')}
|
|
|
|
target='_blank' rel='noopener noreferrer'>
|
|
|
|
target='_blank' rel='noopener noreferrer'>
|
|
|
|
<RiBookOpenLine className='size-4 shrink-0 text-text-tertiary' />
|
|
|
|
<RiBookOpenLine className='size-4 shrink-0 text-text-tertiary' />
|
|
|
|
<div className='system-md-regular grow px-1 text-text-secondary'>{t('common.userProfile.helpCenter')}</div>
|
|
|
|
<div className='system-md-regular grow px-1 text-text-secondary'>{t('common.userProfile.helpCenter')}</div>
|
|
|
|
|