From b05796beaba8947008457122877b2949b8c1dae1 Mon Sep 17 00:00:00 2001 From: Frank William <65594180+ai-qing-hai@users.noreply.github.com> Date: Tue, 21 Nov 2023 16:50:52 +0800 Subject: [PATCH] docs: buttons unify and image position (#2425) --- s2-site/.dumirc.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/s2-site/.dumirc.ts b/s2-site/.dumirc.ts index 51cce0c396..db1bebe813 100644 --- a/s2-site/.dumirc.ts +++ b/s2-site/.dumirc.ts @@ -291,21 +291,24 @@ export default defineConfig({ }, image: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original', + imageStyle: { + marginLeft: 0, + }, buttons: [ { text: { - zh: '图表示例', - en: 'Examples', + zh: '开始使用', + en: 'Getting Started', }, - link: `/examples`, - type: 'primary', + link: `/manual/getting-started`, }, { text: { - zh: '开始使用', - en: 'Getting Started', + zh: '图表示例', + en: 'Examples', }, - link: `/manual/getting-started`, + link: `/examples`, + type: 'primary', }, ], },