From a3692b7aed5dcf928090286bb6f6012f98368b43 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Nov 2022 23:32:17 +0800 Subject: [PATCH] chore: add yuque blog url (#38649) --- .dumi/theme/locales/en-US.json | 5 +++-- .dumi/theme/locales/zh-CN.json | 5 +++-- .dumi/theme/slots/Footer/index.tsx | 7 +++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.dumi/theme/locales/en-US.json b/.dumi/theme/locales/en-US.json index 6d96f8cfe8..d8a620b43c 100644 --- a/.dumi/theme/locales/en-US.json +++ b/.dumi/theme/locales/en-US.json @@ -102,10 +102,11 @@ "app.footer.company": "XTech", "app.footer.ant-design": "UI Design Language", "app.footer.yuque": "YuQue", - "app.footer.yuque.slogan": "Write your document as a team", + "app.footer.yuque.slogan": "Document Collaboration Platform", "app.footer.antv.slogan": "Data Visualization", "app.footer.egg.slogan": "Enterprise Node.js Framework", - "app.footer.zhihu": "Ant Design Blog", + "app.footer.yuque.repo": "Ant Design in YuQue", + "app.footer.zhihu": "Ant Design in Zhihu", "app.footer.zhihu.xtech": "Experience Cloud Blog", "app.footer.seeconf": "Experience Tech Conference", "app.footer.xtech": "Ant Financial Experience Tech", diff --git a/.dumi/theme/locales/zh-CN.json b/.dumi/theme/locales/zh-CN.json index fc51c31cf3..b25d1426af 100644 --- a/.dumi/theme/locales/zh-CN.json +++ b/.dumi/theme/locales/zh-CN.json @@ -101,10 +101,11 @@ "app.footer.company": "XTech", "app.footer.ant-design": "蚂蚁 UI 体系", "app.footer.yuque": "语雀", - "app.footer.yuque.slogan": "专业的云端知识库", + "app.footer.yuque.slogan": "构建你的数字花园", "app.footer.antv.slogan": "数据可视化解决方案", "app.footer.egg.slogan": "企业级 Node.js 框架", - "app.footer.zhihu": "Ant Design 专栏", + "app.footer.yuque.repo": "Ant Design 语雀专栏", + "app.footer.zhihu": "Ant Design 知乎专栏", "app.footer.zhihu.xtech": "体验科技专栏", "app.footer.seeconf": "蚂蚁体验科技大会", "app.footer.xtech": "蚂蚁体验科技", diff --git a/.dumi/theme/slots/Footer/index.tsx b/.dumi/theme/slots/Footer/index.tsx index fdd6a7890c..1970288d41 100644 --- a/.dumi/theme/slots/Footer/index.tsx +++ b/.dumi/theme/slots/Footer/index.tsx @@ -15,6 +15,7 @@ import { TwitterOutlined, UsergroupAddOutlined, ZhihuOutlined, + YuqueOutlined, } from '@ant-design/icons'; import useLocation from '../../../hooks/useLocation'; import { css } from '@emotion/react'; @@ -179,6 +180,12 @@ const Footer = () => { url: 'http://twitter.com/antdesignui', openExternal: true, }, + { + icon: , + title: , + url: 'https://yuque.com/ant-design/ant-design', + openExternal: true, + }, { icon: , title: ,