From b694cde48de71038ecc917c5f152ce6e9a359284 Mon Sep 17 00:00:00 2001 From: ai-qing-hai Date: Mon, 20 Nov 2023 22:57:31 +0800 Subject: [PATCH] chore(global): update dumi-theme-antv style --- site/.dumirc.ts | 17 +++++++++-------- site/package.json | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/site/.dumirc.ts b/site/.dumirc.ts index ffaff19d..6a521749 100644 --- a/site/.dumirc.ts +++ b/site/.dumirc.ts @@ -10,6 +10,7 @@ export default defineConfig({ siteUrl: homepage, isAntVSite: false, githubUrl: repository.url, + footerTheme: 'light', // 白色 底部主题 // 是否显示搜索框 showSearch: false, // 是否显示头部的 GitHub icon @@ -298,22 +299,22 @@ export default defineConfig({ zh: 'AVA 是为了更简便的可视分析而生的技术框架。 VA 代表可视分析(Visual Analytics),而第一个 A 具有多重涵义:其目标是成为一个自动化(Automated)、智能驱动(AI driven)、支持增强分析(Augmented)的可视分析解决方案。', en: 'AVA is a framework for more convenient Visual Analytics. The first A of AVA has many meanings. It states that the goal of this framework is to become an Automated, AI driven solution that supports Augmented analytics.' }, - image: 'https://gw.alipayobjects.com/zos/bmw-prod/e11f026f-325b-4e71-8613-8297febcfdd0.svg', + image: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yvxBT42GPRIAAAAAAAAAAAAADmJ7AQ/original', buttons: [ { text: { - zh: '图表示例', - en: 'Examples', + zh: '开始使用', + en: 'Getting Started', }, - link: `/examples`, - type: 'primary', + link: `/guide/intro`, }, { text: { - zh: '开始使用', - en: 'Getting Started', + zh: '图表示例', + en: 'Examples', }, - link: `/guide/intro`, + link: `/examples`, + type: 'primary', }, ], }, diff --git a/site/package.json b/site/package.json index 67de3288..2b965b99 100644 --- a/site/package.json +++ b/site/package.json @@ -60,7 +60,7 @@ "vega-lite": "^4.15.0" }, "devDependencies": { - "@antv/dumi-theme-antv": "^0.3.6", + "@antv/dumi-theme-antv": "^0.4.1", "@types/react": "^16.9.2", "@types/react-dom": "^16.9.0", "@types/mockjs": "^1.0.7",