Skip to content

Commit a37f6ad

Browse files
committed
整理footer链接
1 parent 1c478d6 commit a37f6ad

File tree

3 files changed

+15
-24
lines changed

3 files changed

+15
-24
lines changed

docusaurus.config.js

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const config = {
3636

3737
scripts: [
3838
// String format.
39-
'/js/salesiq.js',
39+
// '/js/salesiq.js',
4040
],
4141
presets: [
4242
[
@@ -116,12 +116,6 @@ const config = {
116116
sidebarId: 'steedos-platform',
117117
label: 'Platform',
118118
},
119-
{
120-
type: 'docSidebar',
121-
position: 'left',
122-
sidebarId: 'solutions',
123-
label: 'Solutions',
124-
},
125119
{
126120
type: 'docSidebar',
127121
position: 'left',
@@ -134,6 +128,12 @@ const config = {
134128
sidebarId: 'developer',
135129
label: 'Developer',
136130
},
131+
{
132+
type: 'docSidebar',
133+
position: 'left',
134+
sidebarId: 'solutions',
135+
label: 'Solutions',
136+
},
137137
{
138138
type: 'search',
139139
position: 'right',
@@ -251,25 +251,12 @@ const config = {
251251
label: '400-820-1612 (China)',
252252
href: 'tel:400-820-1612',
253253
},
254-
{
255-
label: 'Contact Us',
256-
href: 'https://sp0dtpsxxk.jiandaoyun.com/f/660a2de0b0a76aafa09bde68',
257-
},
258-
{
259-
label: 'Github Discussions',
260-
href: 'https://github.com/orgs/steedos/discussions',
261-
},
262-
{
263-
html: `
264-
<div>
265-
<img src="https://console.steedos.cn/api/files/images/64631db2c106fe003e69cbac" alt="微信扫码" width="120" height="120" />
266-
</div>
267-
`,
268-
},
269254
],
270255
},
271256
],
272-
copyright: `Copyright © ${new Date().getFullYear()} Steedos Inc.`,
257+
copyright: `
258+
Copyright © ${new Date().getFullYear()} Steedos Inc. <br/><br/> <a href="https://docs.steedos.cn">中文</a> | <a href="https://docs.steedos.com">English</a>
259+
`,
273260
},
274261
prism: {
275262
theme: darkCodeTheme,

i18n/zh-CN/docusaurus-theme-classic/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"description": "The label of footer link with label=Steedos Enterprise linking to https://www.steedos.com/pricing/platform"
1313
},
1414
"copyright": {
15-
"message": "Copyright © 2024 Steedos Inc. <br/> (沪ICP备09089283号)",
15+
"message": "Copyright © 2024 Steedos Inc. <br/> (沪ICP备09089283号)<br/><br/> <a href='https://docs.steedos.cn'>中文</a> | <a href='https://docs.steedos.com'>English</a>",
1616
"description": "The footer copyright"
1717
},
1818
"link.title.Getting Started": {

src/theme/Footer/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ export default function FooterWrapper(props) {
1616
</picture>
1717
</div>
1818
</div>
19+
1920
<Footer {...props} />
21+
<div class="footer py-4">
22+
<img class="mx-auto" src="https://www.steedos.com/img/QR_contact1.png" alt="微信扫码" width="587" height="216" />
23+
</div>
2024
</>
2125
);
2226
}

0 commit comments

Comments
 (0)