Skip to content

Commit

Permalink
整理footer链接
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Sep 9, 2024
1 parent 1c478d6 commit a37f6ad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 24 deletions.
33 changes: 10 additions & 23 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const config = {

scripts: [
// String format.
'/js/salesiq.js',
// '/js/salesiq.js',
],
presets: [
[
Expand Down Expand Up @@ -116,12 +116,6 @@ const config = {
sidebarId: 'steedos-platform',
label: 'Platform',
},
{
type: 'docSidebar',
position: 'left',
sidebarId: 'solutions',
label: 'Solutions',
},
{
type: 'docSidebar',
position: 'left',
Expand All @@ -134,6 +128,12 @@ const config = {
sidebarId: 'developer',
label: 'Developer',
},
{
type: 'docSidebar',
position: 'left',
sidebarId: 'solutions',
label: 'Solutions',
},
{
type: 'search',
position: 'right',
Expand Down Expand Up @@ -251,25 +251,12 @@ const config = {
label: '400-820-1612 (China)',
href: 'tel:400-820-1612',
},
{
label: 'Contact Us',
href: 'https://sp0dtpsxxk.jiandaoyun.com/f/660a2de0b0a76aafa09bde68',
},
{
label: 'Github Discussions',
href: 'https://github.com/orgs/steedos/discussions',
},
{
html: `
<div>
<img src="https://console.steedos.cn/api/files/images/64631db2c106fe003e69cbac" alt="微信扫码" width="120" height="120" />
</div>
`,
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Steedos Inc.`,
copyright: `
Copyright © ${new Date().getFullYear()} Steedos Inc. <br/><br/> <a href="https://docs.steedos.cn">中文</a> | <a href="https://docs.steedos.com">English</a>
`,
},
prism: {
theme: darkCodeTheme,
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-CN/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"description": "The label of footer link with label=Steedos Enterprise linking to https://www.steedos.com/pricing/platform"
},
"copyright": {
"message": "Copyright © 2024 Steedos Inc. <br/> (沪ICP备09089283号)",
"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>",
"description": "The footer copyright"
},
"link.title.Getting Started": {
Expand Down
4 changes: 4 additions & 0 deletions src/theme/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ export default function FooterWrapper(props) {
</picture>
</div>
</div>

<Footer {...props} />
<div class="footer py-4">
<img class="mx-auto" src="https://www.steedos.com/img/QR_contact1.png" alt="微信扫码" width="587" height="216" />
</div>
</>
);
}

0 comments on commit a37f6ad

Please sign in to comment.