Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Feat/add community link to dropdown (#1851)

crazywoola08abbb8dba15
diff --git a/web/README.md b/web/README.md
index 8888917968b..41dfab73442 100644
--- a/web/README.md
+++ b/web/README.md
@@ -68,4 +68,4 @@ If your IDE is VSCode, rename `web/.vscode/settings.example.json` to `web/.vscod
Visit https://docs.dify.ai/getting-started/readme to view the full documentation.
## Community
-The Dify community can be found on [Discord community](https://discord.com/invite/FngNHpbcY7), where you can ask questions, voice ideas, and share your projects.
+The Dify community can be found on [Discord community](https://discord.gg/5AEfbxcd9k), where you can ask questions, voice ideas, and share your projects.
diff --git a/web/app/components/header/account-dropdown/index.tsx b/web/app/components/header/account-dropdown/index.tsx
index 74e07b7e7b5..d62af1ec48c 100644
--- a/web/app/components/header/account-dropdown/index.tsx
+++ b/web/app/components/header/account-dropdown/index.tsx
@@ -109,6 +109,15 @@ export default function AppSelector({ isMobile }: IAppSelecotr) {
<ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
</Link>
</Menu.Item>
+ <Menu.Item>
+ <Link
+ className={classNames(itemClassName, 'group justify-between')}
+ href='https://discord.gg/5AEfbxcd9k'
+ target='_blank'>
+ <div>{t('common.userProfile.community')}</div>
+ <ArrowUpRight className='hidden w-[14px] h-[14px] text-gray-500 group-hover:flex' />
+ </Link>
+ </Menu.Item>
<Menu.Item>
<Link
className={classNames(itemClassName, 'group justify-between')}
diff --git a/web/i18n/lang/common.en.ts b/web/i18n/lang/common.en.ts
index de9cc2a9e28..00877d7fa3d 100644
--- a/web/i18n/lang/common.en.ts
+++ b/web/i18n/lang/common.en.ts
@@ -99,6 +99,7 @@ const translation = {
createWorkspace: 'Create Workspace',
helpCenter: 'Help',
roadmapAndFeedback: 'Roadmap & Feedback',
+ community: 'Community',
about: 'About',
logout: 'Log out',
},
diff --git a/web/i18n/lang/common.zh.ts b/web/i18n/lang/common.zh.ts
index c013aa910f3..f8d4c9d1649 100644
--- a/web/i18n/lang/common.zh.ts
+++ b/web/i18n/lang/common.zh.ts
@@ -99,6 +99,7 @@ const translation = {
createWorkspace: '创建工作空间',
helpCenter: '帮助文档',
roadmapAndFeedback: '产品路线图 & 用户反馈',
+ community: '社区',
about: '关于',
logout: '登出',
},