Skip to content

Commit

Permalink
chore: update dumi-theme-antv (#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-qing-hai authored Nov 21, 2023
1 parent 70063f9 commit a4c2672
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 16 additions & 4 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default defineConfig({
themeConfig: {
title: 'L7',
isAntVSite: false,
footerTheme: 'light', // 白色 底部主题
internalSite: {
url: 'https://gitee.com/antv/L7',
name: {
Expand All @@ -53,16 +54,25 @@ export default defineConfig({
showChartResize: true, // 是否在demo页展示图表视图切换
showAPIDoc: true, // 是否在demo页展示API文档
detail: {
engine: {
zh: 'L7',
en: 'L7',
},
title: {
zh: '蚂蚁地理空间数据可视化',
en: 'L7 Geospatial Visualization',
zh: 'L7·蚂蚁地理空间数据可视化',
en: 'L7·Geospatial Visualization',
},
description: {
zh: '蚂蚁集团 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析引擎。',
en: 'Geospatial Data Visualization Analysis Engine',
},
image:
'https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*cCI7RaJs46AAAAAAAAAAAABkARQnAQ',
'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*5bIcTaxarjoAAAAAAAAAAAAADmJ7AQ/original',
imageStyle: {
transform: 'scale(0.5)',
marginLeft: '150px',
marginTop: '-80px',
},
buttons: [
{
text: {
Expand All @@ -76,14 +86,16 @@ export default defineConfig({
zh: '图表示例',
en: 'gallery',
},
link: '/examples',
type: 'primary',
link: '/examples',
},
{
text: {
zh: 'QuickIssue',
en: 'QuickIssue',
},
type: 'primary',
icon: null,
link: '/tutorial/quick_issue',
},
],
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"start": "npm run site:develop"
},
"devDependencies": {
"@antv/dumi-theme-antv": "^0.3.16",
"@antv/dumi-theme-antv": "^0.4.1",
"@antv/g2": "^4.2.8",
"@antv/l7-composite-layers": "^0.15.0",
"@antv/l7-draw": "^3.0.9",
Expand Down

0 comments on commit a4c2672

Please sign in to comment.