diff --git a/docs/4.0/code.json b/docs/4.0/code.json index a00230925a2..584602c0999 100644 --- a/docs/4.0/code.json +++ b/docs/4.0/code.json @@ -633,5 +633,8 @@ }, "Pricing": { "message": "价格" + }, + "A cloud operating system based on the Kubernetes kernel": { + "message": "以 Kubernetes 为内核的云操作系统" } } \ No newline at end of file diff --git a/docs/website/docusaurus.config.js b/docs/website/docusaurus.config.js index 33aeb958bd4..f93bc7d6bdf 100644 --- a/docs/website/docusaurus.config.js +++ b/docs/website/docusaurus.config.js @@ -9,7 +9,7 @@ const config = { baseUrl: "/", onBrokenLinks: "warn", onBrokenMarkdownLinks: "warn", - favicon: "img/sealos.ico", + favicon: "img/favicon.ico", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. diff --git a/docs/website/i18n/zh-Hans/docusaurus-theme-classic/footer.json b/docs/website/i18n/zh-Hans/docusaurus-theme-classic/footer.json index d1f6bdba8b0..1e089993542 100644 --- a/docs/website/i18n/zh-Hans/docusaurus-theme-classic/footer.json +++ b/docs/website/i18n/zh-Hans/docusaurus-theme-classic/footer.json @@ -24,7 +24,7 @@ "description": "The title of the footer links column with title=Labring in the footer" }, "link.item.label.Company": { - "message": "Company", + "message": "关于我们", "description": "The label of footer link with label=Company linking to /company" }, "link.item.label.Laf FaaS": { @@ -52,15 +52,15 @@ "description": "The label of footer link with label=Blog linking to /blog" }, "link.title.Product": { - "message": "Product", + "message": "产品", "description": "The title of the footer links column with title=Product in the footer" }, "link.title.Developer": { - "message": "Developer", + "message": "开发者", "description": "The title of the footer links column with title=Developer in the footer" }, "link.title.Support": { - "message": "Support", + "message": "支持", "description": "The title of the footer links column with title=Support in the footer" }, "link.item.label.Laf": { @@ -76,23 +76,23 @@ "description": "The label of footer link with label=FastGPT linking to https://github.com/labring/FastGPT" }, "link.item.label.Contribute": { - "message": "Contribute", + "message": "参与贡献", "description": "The label of footer link with label=Contribute linking to https://github.com/labring/sealos/blob/main/CONTRIBUTING.md" }, "link.item.label.Documentation": { - "message": "Documentation", + "message": "文档中心", "description": "The label of footer link with label=Documentation linking to /docs/Intro" }, "link.item.label.Forum": { - "message": "Forum", + "message": "中文论坛", "description": "The label of footer link with label=Forum linking to https://forum.laf.run/" }, "link.item.label.Feedback": { - "message": "Feedback", + "message": "问题反馈", "description": "The label of footer link with label=Feedback linking to https://github.com/labring/sealos/issues" }, "link.item.label.Contact US": { - "message": "Contact US", + "message": "咨询合作", "description": "The label of footer link with label=Contact US linking to https://fael3z0zfze.feishu.cn/share/base/form/shrcnesSfEK65JZaAf2W6Fwz6Ad" } -} +} \ No newline at end of file diff --git a/docs/website/src/pages/components/Footer/index.tsx b/docs/website/src/pages/components/Footer/index.tsx index 5203bb63369..40facb0b23a 100644 --- a/docs/website/src/pages/components/Footer/index.tsx +++ b/docs/website/src/pages/components/Footer/index.tsx @@ -1,14 +1,15 @@ -import Link from '@docusaurus/Link' -import useDocusaurusContext from '@docusaurus/useDocusaurusContext' -import DeveloperIcon from '@site/static/icons/developer.svg' -import DiscordIcon from '@site/static/icons/discord.svg' -import GithubIcon from '@site/static/icons/github.svg' -import LogoIcon from '@site/static/icons/logo.svg' -import React, { useMemo } from 'react' -import './index.scss' +import Link from '@docusaurus/Link'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; +import DeveloperIcon from '@site/static/icons/developer.svg'; +import DiscordIcon from '@site/static/icons/discord.svg'; +import GithubIcon from '@site/static/icons/github.svg'; +import LogoIcon from '@site/static/icons/logo.svg'; +import React, { useMemo } from 'react'; +import './index.scss'; +import Translate from '@docusaurus/Translate'; interface ItemType { - title: string - items: { label: string; to: string }[] + title: string; + items: { label: string; to: string }[]; } const Footer = ({ isPc }: { isPc: boolean }) => { @@ -16,30 +17,30 @@ const Footer = ({ isPc }: { isPc: boolean }) => { siteConfig: { themeConfig: { // @ts-ignore nextline - footer: { links }, - }, - }, - } = useDocusaurusContext() + footer: { links } + } + } + } = useDocusaurusContext(); - const listData = useMemo(() => links, []) + const listData = useMemo(() => links, []); const FooterLinks = [ { key: 'github', label: , - to: 'https://github.com/labring/sealos', + to: 'https://github.com/labring/sealos' }, { key: 'discord', label: , - to: 'https://discord.com/invite/qzBmGGZGk7', + to: 'https://discord.com/invite/qzBmGGZGk7' }, { key: 'commit', label: , - to: 'https://forum.laf.run/', - }, - ] + to: 'https://forum.laf.run/' + } + ]; if (!isPc) { return ( @@ -57,7 +58,7 @@ const Footer = ({ isPc }: { isPc: boolean }) => { Sealos
- a cloud operating system based on the Kubernetes kernel + A cloud operating system based on the Kubernetes kernel
@@ -75,23 +76,24 @@ const Footer = ({ isPc }: { isPc: boolean }) => {
-
- Made by Sealos Team. 粤ICP备2023048773号  - 珠海环界云计算有限公司版权所有 -
+
+ Made by Sealos Team.{' '} + 粤ICP备2023048773号  + 珠海环界云计算有限公司版权所有 +
{FooterLinks.map((item) => { return ( {item.label} - ) + ); })}
- ) + ); } return ( @@ -109,7 +111,7 @@ const Footer = ({ isPc }: { isPc: boolean }) => { Sealos
- A cloud operating system based on the Kubernetes kernel + A cloud operating system based on the Kubernetes kernel
@@ -128,8 +130,8 @@ const Footer = ({ isPc }: { isPc: boolean }) => {
- Made by Sealos Team. 粤ICP备2023048773号  - 珠海环界云计算有限公司版权所有 + Made by Sealos Team. 粤ICP备2023048773号 +   珠海环界云计算有限公司版权所有
{FooterLinks.map((item) => { @@ -137,13 +139,13 @@ const Footer = ({ isPc }: { isPc: boolean }) => { {item.label} - ) + ); })}
- ) -} + ); +}; -export default React.memo(Footer) +export default React.memo(Footer); diff --git a/docs/website/static/img/favicon.ico b/docs/website/static/img/favicon.ico new file mode 100644 index 00000000000..aaf5a412ae6 Binary files /dev/null and b/docs/website/static/img/favicon.ico differ diff --git a/docs/website/static/img/sealos.ico b/docs/website/static/img/sealos.ico deleted file mode 100644 index 7218f5ead22..00000000000 Binary files a/docs/website/static/img/sealos.ico and /dev/null differ diff --git a/service/license/src/pages/cluster/components/Tutorial.tsx b/service/license/src/pages/cluster/components/Tutorial.tsx index 3a19b19a4ac..fb2370421b6 100644 --- a/service/license/src/pages/cluster/components/Tutorial.tsx +++ b/service/license/src/pages/cluster/components/Tutorial.tsx @@ -194,7 +194,7 @@ export default function Tutorial({ Sealos 需要使用证书来保证通信安全,默认在您不提供证书的情况下我们会使用 - cret-manager + cert-manager 来自动签发证书。 @@ -254,7 +254,10 @@ export default function Tutorial({ 服务器上下载 - + 部署集群 diff --git a/service/license/src/pages/pricing/components/Product.tsx b/service/license/src/pages/pricing/components/Product.tsx index 07deb94d839..f9e08fc76b5 100644 --- a/service/license/src/pages/pricing/components/Product.tsx +++ b/service/license/src/pages/pricing/components/Product.tsx @@ -272,9 +272,11 @@ export default function Product() { }, []); return ( - + <> handleProductByType(ClusterType.Enterprise)} > 购买 - {/* {t('Buy')} */} @@ -360,7 +361,6 @@ export default function Product() { 适合大规模集群与大型企业客户 - {/* Suitable for large-scale clusters and large enterprise customers */} - @@ -464,6 +462,6 @@ export default function Product() { )} - + ); }