Browse Source

chore: add yuque blog url (#38649)

pull/38645/head
afc163 2 years ago
committed by GitHub
parent
commit
a3692b7aed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .dumi/theme/locales/en-US.json
  2. 5
      .dumi/theme/locales/zh-CN.json
  3. 7
      .dumi/theme/slots/Footer/index.tsx

5
.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",

5
.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": "蚂蚁体验科技",

7
.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: <YuqueOutlined style={{ color: '#00b96b' }} />,
title: <FormattedMessage id="app.footer.yuque.repo" />,
url: 'https://yuque.com/ant-design/ant-design',
openExternal: true,
},
{
icon: <ZhihuOutlined style={{ color: '#0084ff' }} />,
title: <FormattedMessage id="app.footer.zhihu" />,

Loading…
Cancel
Save