From 5e83be8b6cdb7e0545fbc6446d2dcd886fac06a1 Mon Sep 17 00:00:00 2001 From: ai-qing-hai Date: Tue, 21 Nov 2023 10:54:37 +0800 Subject: [PATCH 1/2] fix: buttons unify --- s2-site/.dumirc.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/s2-site/.dumirc.ts b/s2-site/.dumirc.ts index 51cce0c396..9764935d7e 100644 --- a/s2-site/.dumirc.ts +++ b/s2-site/.dumirc.ts @@ -294,18 +294,18 @@ export default defineConfig({ 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', }, ], }, From 6735d65a6957a458c6b6a8389d463efbac464958 Mon Sep 17 00:00:00 2001 From: ai-qing-hai Date: Tue, 21 Nov 2023 14:34:14 +0800 Subject: [PATCH 2/2] fix: image position --- s2-site/.dumirc.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/s2-site/.dumirc.ts b/s2-site/.dumirc.ts index 9764935d7e..db1bebe813 100644 --- a/s2-site/.dumirc.ts +++ b/s2-site/.dumirc.ts @@ -291,6 +291,9 @@ export default defineConfig({ }, image: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original', + imageStyle: { + marginLeft: 0, + }, buttons: [ { text: {