|
|
|
@ -62,7 +62,7 @@ export default function AppSelector({ isMobile }: IAppSelecotr) {
|
|
|
|
<Avatar name={userProfile.name} className='sm:mr-2 mr-0' size={32} />
|
|
|
|
<Avatar name={userProfile.name} className='sm:mr-2 mr-0' size={32} />
|
|
|
|
{!isMobile && <>
|
|
|
|
{!isMobile && <>
|
|
|
|
{userProfile.name}
|
|
|
|
{userProfile.name}
|
|
|
|
<ChevronDown className="w-3 h-3 ml-1 text-gray-700"/>
|
|
|
|
<ChevronDown className="w-3 h-3 ml-1 text-gray-700" />
|
|
|
|
</>}
|
|
|
|
</>}
|
|
|
|
</Menu.Button>
|
|
|
|
</Menu.Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -105,7 +105,7 @@ export default function AppSelector({ isMobile }: IAppSelecotr) {
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
className={classNames(itemClassName, 'group justify-between')}
|
|
|
|
className={classNames(itemClassName, 'group justify-between')}
|
|
|
|
href='https://feedback.dify.ai/'
|
|
|
|
href='https://feedback.dify.ai/'
|
|
|
|
target='_blank'>
|
|
|
|
target='_blank' rel='noopener noreferrer'>
|
|
|
|
<div>{t('common.userProfile.roadmapAndFeedback')}</div>
|
|
|
|
<div>{t('common.userProfile.roadmapAndFeedback')}</div>
|
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
|
</Link>
|
|
|
|
</Link>
|
|
|
|
@ -114,7 +114,7 @@ export default function AppSelector({ isMobile }: IAppSelecotr) {
|
|
|
|
<Link
|
|
|
|
<Link
|
|
|
|
className={classNames(itemClassName, 'group justify-between')}
|
|
|
|
className={classNames(itemClassName, 'group justify-between')}
|
|
|
|
href='https://discord.gg/5AEfbxcd9k'
|
|
|
|
href='https://discord.gg/5AEfbxcd9k'
|
|
|
|
target='_blank'>
|
|
|
|
target='_blank' rel='noopener noreferrer'>
|
|
|
|
<div>{t('common.userProfile.community')}</div>
|
|
|
|
<div>{t('common.userProfile.community')}</div>
|
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
|
</Link>
|
|
|
|
</Link>
|
|
|
|
@ -125,7 +125,7 @@ export default function AppSelector({ isMobile }: IAppSelecotr) {
|
|
|
|
href={
|
|
|
|
href={
|
|
|
|
language !== LanguagesSupportedUnderscore[1] ? 'https://docs.dify.ai/' : `https://docs.dify.ai/v/${locale.toLowerCase()}/`
|
|
|
|
language !== LanguagesSupportedUnderscore[1] ? 'https://docs.dify.ai/' : `https://docs.dify.ai/v/${locale.toLowerCase()}/`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
target='_blank'>
|
|
|
|
target='_blank' rel='noopener noreferrer'>
|
|
|
|
<div>{t('common.userProfile.helpCenter')}</div>
|
|
|
|
<div>{t('common.userProfile.helpCenter')}</div>
|
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
|
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
|
|
|
|
</Link>
|
|
|
|
</Link>
|
|
|
|
|