Skip to content

Commit

Permalink
chore: update dumi-theme-antv (#1890)
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-qing-hai authored Nov 23, 2023
1 parent 7de66bf commit 450be5a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
29 changes: 20 additions & 9 deletions site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineConfig({
defaultLanguage: 'zh',
isAntVSite: false,
githubUrl: repository.url, // GitHub 地址
footerTheme: 'light', // 白色 底部主题
showSearch: true, // 是否显示搜索框
showGithubCorner: true, // 是否显示头部的 GitHub icon
showGithubStars: true, // 是否显示 GitHub star 数量
Expand Down Expand Up @@ -124,30 +125,40 @@ export default defineConfig({
},
],
detail: {
engine: {
zh: 'F2',
en: 'F2',
},
title: {
zh: 'F2 移动端可视化引擎',
en: 'F2: Mobile visualization engine',
zh: 'F2·移动端可视化引擎',
en: 'F2·Mobile visualization engine',
},
description: {
zh: 'F2 是一个专注于移动端,面向常规统计图表,开箱即用的可视化引擎,完美支持 H5 环境同时兼容多种环境(Node, 小程序),完备的图形语法理论,满足你的各种可视化需求,专业的移动设计指引为你带来最佳的移动端图表体验。',
en: 'F2 is an out-of-the-box visualization engine focused on the mobile terminal, oriented to conventional statistical charts, perfectly supporting the H5 environment and compatible with multiple environments (Node, applet), complete graphics grammar theory, to meet your various visualization needs , professional mobile design guidelines to bring you the best mobile graphics experience',
},
image:
'https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/870e2e92-6187-4729-889c-232a7df0998a.png',
'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*wi05Q7Za5ZIAAAAAAAAAAAAADmJ7AQ/original',
imageStyle: {
marginLeft: '80px',
marginTop: '30px',
transform: 'scale(1.4)',
},
buttons: [
{
text: {
zh: '图表示例',
en: 'Examples',
zh: '开始使用',
en: 'Getting Started',
},
link: `/examples`,
link: `/tutorial/getting-started`,

},
{
text: {
zh: '开始使用',
en: 'Getting Started',
zh: '图表示例',
en: 'Examples',
},
link: `/tutorial/getting-started`,
link: `/examples`,
type: 'primary',
},
],
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"site:start": "npm run site:develop"
},
"dependencies": {
"@antv/dumi-theme-antv": "^0.3.5",
"@antv/dumi-theme-antv": "^0.4.3",
"@antv/f-react": "~0.0.7",
"@antv/f-test-utils": "1.0.3",
"@antv/f2": "^5.0.4",
Expand Down

0 comments on commit 450be5a

Please sign in to comment.