From 5507b91897a66dc7a56df39f7dbdd5d6ebbb0a65 Mon Sep 17 00:00:00 2001 From: Jack Zhuang <50353452+hotlong@users.noreply.github.com> Date: Thu, 25 Apr 2024 18:25:51 +0800 Subject: [PATCH] footer --- .github/workflows/deploy.yml | 2 +- docusaurus.config.js | 160 ++++++++++++------ .../docusaurus-theme-classic/footer.json | 96 ++++++++++- src/css/custom.css | 21 ++- 4 files changed, 225 insertions(+), 54 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 07073be..3cd107f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Deploy Site +name: Deploy steedos.com on: push: diff --git a/docusaurus.config.js b/docusaurus.config.js index b99fcee..bf9eb8b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -159,56 +159,116 @@ const config = { } }, footer: { - style: 'dark', - // links: [ - // { - // title: 'Getting Started', - // items: [ - // { - // label: 'Deploy', - // to: 'deploy', - // }, - // { - // label: 'User Guide', - // to: 'user', - // }, - // { - // label: 'Admin Guide', - // to: 'admin', - // }, - // ], - // }, - // { - // title: 'Customize Your Org', - // items: [ - // { - // label: 'Extend with Click', - // to: 'no-code', - // }, - // { - // label: 'Automation You Process', - // to: 'automation', - // }, - // { - // label: 'Extend with Code', - // to: 'developer', - // }, - // ], - // }, - // { - // title: 'More', - // items: [ - // { - // label: 'Github', - // href: 'https://github.com/steedos/steedos-platform', - // }, - // { - // label: 'Steedos Enterprise', - // href: 'https://www.steedos.com/pricing/platform', - // } - // ], - // }, - // ], + links: [ + { + title: 'Platform', + items: [ + { + label: 'What is Steedos?', + to: 'platform/overview', + }, + { + label: 'What is Lowcode?', + to: 'platform/lowcode', + }, + { + label: 'Features', + to: 'platform/features', + }, + { + label: 'Pricing', + to: 'platform/pricing', + }, + ], + }, + { + title: 'Solutions', + items: [ + { + label: 'Project Management', + to: 'solutions/project', + }, + { + label: 'Contract Management', + to: 'solutions/contract', + }, + { + label: 'Expense Management', + to: 'solutions/expense', + }, + ], + }, + { + title: 'Customer Success Stories', + items: [ + { + label: 'Tsinghua University', + to: 'customer-success-stories/tsinghua', + }, + { + label: 'CMB China', + to: 'customer-success-stories/cmbchina-poc', + }, + { + label: 'China UMS', + to: 'customer-success-stories/chinaums-oem', + }, + { + label: 'Shuang Hui', + to: 'customer-success-stories/yz', + }, + ], + }, + { + title: 'Resources', + items: [ + { + label: 'Documentation', + to: 'getting-started', + }, + { + label: 'Videos', + to: 'videos', + }, + { + label: 'Deploy', + to: 'deploy', + }, + { + label: 'Developer', + to: 'developer', + }, + ], + }, + { + title: 'Contact Us', + items: [ + { + label: 'About Us', + to: 'company/about-us', + }, + { + 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: ` +
+ 微信扫码 +
+ `, + }, + ], + }, + ], copyright: `Copyright © ${new Date().getFullYear()} Steedos Inc.`, }, prism: { diff --git a/i18n/zh-CN/docusaurus-theme-classic/footer.json b/i18n/zh-CN/docusaurus-theme-classic/footer.json index 7d9f3f9..a662730 100644 --- a/i18n/zh-CN/docusaurus-theme-classic/footer.json +++ b/i18n/zh-CN/docusaurus-theme-classic/footer.json @@ -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 © 2023 Steedos Inc.", + "message": "Copyright © 2024 Steedos Inc.
(沪ICP备09089283号)", "description": "The footer copyright" }, "link.title.Getting Started": { @@ -25,7 +25,7 @@ }, "link.item.label.Deploy": { "message": "安装部署", - "description": "The label of footer link with label=Deploy linking to /deploy" + "description": "The label of footer link with label=Deploy linking to deploy" }, "link.item.label.User Guide": { "message": "用户向导", @@ -42,5 +42,97 @@ "link.item.label.Extend with Code": { "message": "开发人员向导", "description": "The label of footer link with label=Extend with Code linking to /developer" + }, + "link.title.Platform": { + "message": "平台", + "description": "The title of the footer links column with title=Platform in the footer" + }, + "link.title.Solutions": { + "message": "解决方案", + "description": "The title of the footer links column with title=Solutions in the footer" + }, + "link.title.Customer Success Stories": { + "message": "客户案例", + "description": "The title of the footer links column with title=Customer Success Stories in the footer" + }, + "link.title.Resources": { + "message": "资源", + "description": "The title of the footer links column with title=Resources in the footer" + }, + "link.title.Contact Us": { + "message": "联系我们", + "description": "The title of the footer links column with title=Contact Us in the footer" + }, + "link.item.label.What is Steedos?": { + "message": "什么是 Steedos?", + "description": "The label of footer link with label=What is Steedos? linking to platform/overview" + }, + "link.item.label.What is Lowcode?": { + "message": "什么是低代码?", + "description": "The label of footer link with label=What is Lowcode? linking to platform/lowcode" + }, + "link.item.label.Features": { + "message": "功能", + "description": "The label of footer link with label=Features linking to platform/features" + }, + "link.item.label.Pricing": { + "message": "报价", + "description": "The label of footer link with label=Pricing linking to platform/pricing" + }, + "link.item.label.Project Management": { + "message": "项目管理", + "description": "The label of footer link with label=Project Management linking to solutions/project" + }, + "link.item.label.Contract Management": { + "message": "合同管理", + "description": "The label of footer link with label=Contract Management linking to solutions/contract" + }, + "link.item.label.Expense Management": { + "message": "费控管理", + "description": "The label of footer link with label=Expense Management linking to solutions/expense" + }, + "link.item.label.Tsinghua University": { + "message": "清华大学", + "description": "The label of footer link with label=Tsinghua University linking to customer-success-stories/tsinghua" + }, + "link.item.label.CMB China": { + "message": "招商银行", + "description": "The label of footer link with label=CMB China linking to customer-success-stories/cmbchina-poc" + }, + "link.item.label.China UMS": { + "message": "中国银联", + "description": "The label of footer link with label=China UMS linking to customer-success-stories/chinaums-oem" + }, + "link.item.label.Shuang Hui": { + "message": "双汇集团", + "description": "The label of footer link with label=Shuang Hui linking to customer-success-stories/yz" + }, + "link.item.label.Documentation": { + "message": "文档", + "description": "The label of footer link with label=Documentation linking to getting-started" + }, + "link.item.label.Videos": { + "message": "视频", + "description": "The label of footer link with label=Videos linking to videos" + }, + "link.item.label.Developer": { + "message": "开发人员", + "description": "The label of footer link with label=Developer linking to developer" + }, + "link.item.label.About Us": { + "message": "关于我们", + "description": "The label of footer link with label=About Us linking to company/about-us" + }, + "link.item.label.400-820-1612 (China)": { + "message": "400-820-1612 (中国)", + "description": "The label of footer link with label=400-820-1612 (China) linking to tel:400-820-1612" + }, + "link.item.label.Contact Us": { + "message": "联系我们", + "description": "The label of footer link with label=Contact Us linking to https://sp0dtpsxxk.jiandaoyun.com/f/660a2de0b0a76aafa09bde68" + }, + "link.item.label.Github Discussions": { + "message": "Github Discussions", + "description": "The label of footer link with label=Github Discussions linking to https://github.com/orgs/steedos/discussions" } } diff --git a/src/css/custom.css b/src/css/custom.css index 0b5e460..0d94fd2 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -4,13 +4,32 @@ svg { @apply inline; } + + h1 { + @apply mt-4 + } } @tailwind components; @tailwind utilities; +h1, h2, h3, h4, h5, h6 { + font-weight: bold; +} + :root { - /* --ifm-navbar-background-color: #fff9; */ + --ifm-navbar-background-color: #000; + --ifm-navbar-link-color: rgb(198,198,198); + --ifm-navbar-link-hover-color: #fff; + --ifm-navbar-shadow: none; + --ifm-footer-background-color: rgb(34,34,34); + --ifm-footer-color: rgb(153,153,153); + --ifm-footer-link-color: rgb(153,153,153); +} + +.navbar__title { + color: #fff; + font-size: 18px; } .hidden {