From 358c57239631bd0aa163960e3902acc812f47bfe Mon Sep 17 00:00:00 2001 From: zhujingyang <72259332+zjy365@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:04:54 +0800 Subject: [PATCH] fix oss file name && docs footer (#4220) --- docs/4.0/code.json | 3 + docs/website/docusaurus.config.js | 2 +- .../docusaurus-theme-classic/footer.json | 20 ++--- .../src/pages/components/Footer/index.tsx | 70 +++++++++--------- docs/website/static/img/favicon.ico | Bin 0 -> 15086 bytes docs/website/static/img/sealos.ico | Bin 4286 -> 0 bytes .../src/pages/cluster/components/Tutorial.tsx | 7 +- .../src/pages/pricing/components/Product.tsx | 12 ++- 8 files changed, 60 insertions(+), 54 deletions(-) create mode 100644 docs/website/static/img/favicon.ico delete mode 100644 docs/website/static/img/sealos.ico 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 0000000000000000000000000000000000000000..aaf5a412ae67e11d07dc29ffca6ba993b3adc080 GIT binary patch literal 15086 zcmeHO2Ut|swjM-5MS-XoJJ@@{UV}!BQEZ9CE|%m*P0_?yqA`m4V(!&MV{a&mgCH|h z0YR#Of|_!@H~qe=B*v1&=+K8L=YRh`hk=nMBr(bNKF{}U_MEc!`u95P?7jBC7AlpE z%2w5qFTTruFFRUrF#7L zu?8M%;L&LS{`2eL^sEL5eZd)FQ=Orm*5w9(LW-OKDe4*OesnSR;XuM5 zV(&}rJuTRQw3fgH7vQ3kgo_P6$Hn?{ao)lHQH%q}H@iW-@e~5zG2rxSVt)gY<|UX; zPeoC{FckWCNB;44$oFf*x-|;?T~VlR2YpZ{7(%MPG|$9H+>NMC41mf9pJL9gv+(UkWstM z?=c2q?*a9uD+qiSQs8pvkB>&q!KTpdvxjbfT^W1MAxC0&R+mtqI5*eKQ`X-$7Rto$ihzO?Q~i zH7~_)!G4*xbjjX?jQT!^YgOa<6(@Zb;MBVX=73i(^!G!Wi-5t^hRTA@&<5XgBt?YU&X1lC(Zt^ zwya58%d>jl_BO;mhI7yt73#eNdmrNO%hDg__}0WuTN3spuxBUZ8nz}n;RUtR4s7TjfPVjoO<|5_htWi!NHBXu@^$nWDq za|2RadzbCIqH~;lo4S8{KTfXsReGTua+ZbxTBIC&!BVx4uT7W(w4+J*=<&*57({CtG6w;6d!}vdxrY zA4dF7v5bT{mg}4~_B1!*Z=Z|g&ZDcsg5z)2h5w3i@PDgrRnPsJdqt;vbfV4tSA44m zZAI8e$kGUrY?DUm70mt%)aMT3`*p8O4>@2OAdKR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zPrMCyL=BS72|=;sQY75%HSf#F{yj5TmN+Vp1fGw zik^QI*Q5jw2kL$a;~8Jdoan!vxQj39_k9$ys_K)vcct!MC#M#NuWPTuHU87kpK#zS z`+E4srUm)1k~Qj2fbsuMBuRwQLvRdP+&7Sl5p0T}V)SpQT#b^-wGb-uG(IdTd_WXF zxHHQZu35I%SW@JYVxQugVxQ$9N|wFOHOooos&m!5N*hhC6eG%Y7OO+>6oQs;V=3V& z{-8IEpcRhX&-O*c^hx|*l!=HN>W+k74GE>n1M2Pd5wy-5nkA`H$n<;6$1&pUQwAjV z`30%2Nx0}Z6B%_X-0ML7{u7dV#Q}r=l-vTp?t1Pe&0_zi4`l9nWP3>GnfovHjhAgd zKxUl>u;Ap@I+A+rO2hGKyR!E?d+PSv4bSy${37>&=L=4{nZ-WD5ZaM_aQ}I^wvl_# z^*Gn7mSr$duj|bH#hAjQ;~vm(fxlZ*?juf#J%mBi2gdL|kkYtcxY+nMQrpOL4vxIe z|1VkDf;pshEd5#6+yiuB+v|$|{S?g6TsKlVZ>Dti5zpo9SYxB#yG)jw9X!7_V{abJ zlUmGmU1p^Wny$9=VS|MKDttI|DE*Yg-t-yWBM~>8Ib{2qFb`!K69dqLF`}B#PDrv7BQ`Bbq$Q3bnDYbtg<3-+vy@HR+!^O ze#xHeW`*xr$l*S~7N53sXN=2}KG7c%<5D-URGMw&{M OcAGw>%#-py>;D6Ci;7AB literal 0 HcmV?d00001 diff --git a/docs/website/static/img/sealos.ico b/docs/website/static/img/sealos.ico deleted file mode 100644 index 7218f5ead220b238fc536e460c9b8d9d0b8bd0e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4286 zcmd6p2~d^S701s5#bz`RwWeycpb~|s5u>;@71W@jjT?#@5G1jQNfT?eViS#E)Y>#A zj^G-_WrWA}JythxW0BC9rsSMNfmjS=(^~*y+rfTIy8^fx-|Q>9=l2SJ@@zUv({uY z*+4Xw-o!orp1t`h+fs>+)mjZETBl!;(L_DE-g8I}i69!+KZ({~^Iu4!$$m1Pyh5~= zK_ri8{gx2z+tS~KZQ6f5(Y>bid5q|OSx0m|d`LSoi)b#3h{p2-`5n#s|eSJJ@sQSxVm3A1=2%%fw06QRKACxD88Z<%*G zsvjPzZk+WdUiTFPGS<<(QIO5LTh~XL*2Hs;^k~@kKZTon{mEmvb)XmQ);?&=3xun* zFHqSX%pLf!!v%a~iN>BR`r8Zs#2?)@T(Bl_oqt2`YGM5&TDWxOU02d0UA z|0r=DjTDrJ^4WTl?!LmBOGD0pE_9!2au0{Y7z3vf4zo0vZtjOl{~DA(-XGW+&(^2Ompj(Tt^7GsUpTXe<5h~W6s9{E`V z3z>9bQ_4@T9(YZz=Pn4SFPwG4Q8EE28(G2n`=XNbRR@V9Z;aC0X@p&9a!;Xu2AK^U z4d>Y~5-1JZi8AJ2GQlH%P0AnSi%qH9Yf|3+J)qudo+ShwB8-nu=kmI5CdT zbzk>fPTM#k1L?lvGStm}beqO};7}ypjN#a%RINR@e_FeA{cEmoxC5}uN9Exg9 zFY3Rvb%R_=-8lK*yH?q+r7y;<{Af5zp5a~^aT!&Ehw1*u$4$=@*IHb*DUozHxQr-z z@3@UP`e)D`Wk>P62qHK#tyRBv_-f}Gxx9UCXV(5qZPp9m-e>K@n0v@qINNUms)Gf8 zZaPo6&*-1li|$YFy5oU7_0Iu{VyaOX-vvc+9=WyC=Nos+ch(o>TKX$Xd%{`x)KTFKqI5Ca6b4?@WYZ!DJ2|xksUlel@g$a{Uv_N`gv}}3yPleLSZc5;{^FH2@2Zg);VwH%@yu>ag;>R)yKlxkH%kmrs300nK*Ch zhI3xp?fVM_++Vf?vXD;3P&}WojkSM}%YELLjpkXyJ@+}+{WG5)^mil=GHsj2>a&J_ z_=&DL{i5#wmLI&zWa)(DABafXnkf_UMl%1e;J 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() { )} - + ); }