diff --git a/docs/website/docusaurus.config.js b/docs/website/docusaurus.config.js index 5e38eb1a5..cdbe0d07e 100644 --- a/docs/website/docusaurus.config.js +++ b/docs/website/docusaurus.config.js @@ -60,34 +60,32 @@ const config = { themeConfig: { // @type {import('@docusaurus/preset-classic').ThemeConfig} metadata: [{ name: 'title', content: 'Sealos by 环界云' }], - ...(!isChinese && { - announcementBar: { - id: 'sealos_tip', - content: ` -
-
如果您是国内用户,请直接访问 👉
-
- 国内官网 -
- - - - - - - - - - - - + announcementBar: { + id: 'sealos_tip', + content: ` +
+
${isChinese ? 'If you are an international user, please visit 👉' : '如果您是国内用户,请直接访问 👉 '}
+
+ ${isChinese ? 'International Site' : '国内官网'}
+ + + + + + + + + + + + +
`, - isCloseable: true, - } - }), + isCloseable: true, + }, algolia: { // Algolia 提供的应用 ID appId: "SLTSB7B9Y0", @@ -241,14 +239,7 @@ const config = { tagName: 'meta', attributes: { name: 'baidu-site-verification', - content: 'codeva-gAHDaifnOq', - }, - }, - { - tagName: 'meta', - attributes: { - name: 'baidu-site-verification', - content: 'codeva-E1X5UKtV9p', + content: 'codeva-IaVFkVUuDD', }, }, { diff --git a/docs/website/src/pages/index.tsx b/docs/website/src/pages/index.tsx index bde9a7d7d..6b7283fd8 100644 --- a/docs/website/src/pages/index.tsx +++ b/docs/website/src/pages/index.tsx @@ -29,7 +29,7 @@ const Home = () => { document.head.appendChild(script1); const scriptBaidu = document.createElement('script'); - scriptBaidu.src = 'https://hm.baidu.com/hm.js?508769a0373e6443cbdf6fa135104b4b'; + scriptBaidu.src = 'https://hm.baidu.com/hm.js?d8e8ecf669c47dc2512d3f1417e761f9'; scriptBaidu.async = true; document.head.appendChild(scriptBaidu); } else {