You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2025/02/14 08:53:47 UTC

(answer-website) 01/01: fix: copywriting adjustment

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch fix-text
in repository https://gitbox.apache.org/repos/asf/answer-website.git

commit c4999e999a86a971e657f7e26c97680da637e9b4
Author: shuai <li...@sifou.com>
AuthorDate: Fri Feb 14 16:53:22 2025 +0800

    fix: copywriting adjustment
---
 community/support.mdx                              | 20 -----
 .../current/support.mdx                            | 20 +----
 package.json                                       |  1 -
 pnpm-lock.yaml                                     | 94 +---------------------
 4 files changed, 2 insertions(+), 133 deletions(-)

diff --git a/community/support.mdx b/community/support.mdx
index 6e5064b0e..6ae12a276 100644
--- a/community/support.mdx
+++ b/community/support.mdx
@@ -30,23 +30,3 @@ Kindly note that, if you're not subscribed to the mailing list, you won't receiv
 ## Others
 
 For the latest news about Apache Answer, [follow @answerdev on Twitter](https://twitter.com/answerdev) and the [official blog](/blog) on this website. You can also reach us via [Discord](https://discord.gg/a6PZZbfnFx), but due to the size of our team, we can't guarantee an instant response. Thanks for your understanding.
-
-If you don't find what you're looking for, please use the form below to submit your request. We'll try and get back to you as soon as possible.
-
-import HubspotForm from 'react-hubspot-form';
-import Translate from '@docusaurus/Translate';
-import { Spinner } from 'react-bootstrap';
-
-  <HubspotForm
-      portalId="23567456"
-      formId="784f94e6-9bfd-4f5e-aeba-5ba40563de8c"
-      loading={<div className='text-center'>
-        <Spinner animation="border" role="status" variant="secondary">
-          <span className="visually-hidden">
-            <Translate id="loading">
-              Loading...
-            </Translate>
-          </span>
-        </Spinner>
-      </div> }
-    />
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/support.mdx b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/support.mdx
index 04dd4da0e..eaf84a0af 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/support.mdx
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/support.mdx
@@ -4,7 +4,7 @@ slug: /support
 
 # 支持
 
-你好!欢迎使用 Apache Answer。作为一款问答平台软件,我们吸引了一群好奇并乐于助人的用户,他们总是愿意帮助解答你的疑问。 
+你好!欢迎使用 Apache Answer。作为一款问答平台软件,我们吸引了一群好奇并乐于助人的用户,他们总是愿意帮助解答你的疑问。
 
 如果你在寻找答案时遇到了困难,可以查看我们的[社区](#apache-answer-meta)、[文档](/docs)、[问题](/community/issues)或者[邮件列表](#邮件列表)。如果你找到了你能回答的问题,请解答它吧!即使你的回答可能不完美,我们的志愿者也很高兴帮助你查漏补缺。
 
@@ -30,21 +30,3 @@ Apache Answer 本身是关于提问和解答,那么作为其官方社区, Ap
 ## 其他
 
 关于 Apache Answer 的最新消息,请在公众号上关注 Answer Dev 和[官方博客](/blog)。你也可以通过 [Discord](https://discord.gg/a6PZZbfnFx) 和我们联系,但是由于团队规模限制,我们不能确保回复的即时性,感谢你的理解。
-
-import HubspotForm from 'react-hubspot-form';
-import Translate from '@docusaurus/Translate';
-import { Spinner } from 'react-bootstrap';
-
-  <HubspotForm
-      portalId="23567456"
-      formId="784f94e6-9bfd-4f5e-aeba-5ba40563de8c"
-      loading={<div className='text-center'>
-        <Spinner animation="border" role="status" variant="secondary">
-          <span className="visually-hidden">
-            <Translate id="loading">
-              Loading...
-            </Translate>
-          </span>
-        </Spinner>
-      </div> }
-    />
diff --git a/package.json b/package.json
index 3cd6fcba8..1d41066ac 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,6 @@
     "react": "^18.0.0",
     "react-bootstrap": "^2.7.4",
     "react-dom": "^18.0.0",
-    "react-hubspot-form": "^1.3.7",
     "react-share": "^4.4.1",
     "react-slick": "^0.29.0",
     "remark-math": "^3.0.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c9b0413d0..6193907a0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -80,9 +80,6 @@ importers:
       react-dom:
         specifier: ^18.0.0
         version: 18.0.0(react@18.0.0)
-      react-hubspot-form:
-        specifier: ^1.3.7
-        version: 1.3.7(react@18.0.0)
       react-share:
         specifier: ^4.4.1
         version: 4.4.1(react@18.0.0)
@@ -1703,15 +1700,6 @@ packages:
     peerDependencies:
       '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
 
-  babel-plugin-syntax-jsx@6.18.0:
-    resolution: {integrity: sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==}
-
-  babel-runtime@6.26.0:
-    resolution: {integrity: sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==}
-
-  babel-types@6.26.0:
-    resolution: {integrity: sha512-zhe3V/26rCWsEZK8kZN+HaQj5yQ1CilTObixFzKW1UWjqG7618Twz6YEsCnjfg5gBcJh02DrpCkS9h98ZqDY+g==}
-
   bail@2.0.2:
     resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}
 
@@ -1988,9 +1976,6 @@ packages:
     resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
     engines: {node: '>= 0.6'}
 
-  convert-source-map@1.5.1:
-    resolution: {integrity: sha512-LNHI/Ll1UqBTGhrR6vMhtVZmX4kjYdCJUjIM6Ydp7/oJ5w1C0MKrzELuUAmMlU0eKwBGx6PaO0TRZ/KDXAFTBg==}
-
   convert-source-map@2.0.0:
     resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
 
@@ -2021,10 +2006,6 @@ packages:
   core-js-pure@3.33.3:
     resolution: {integrity: sha512-taJ00IDOP+XYQEA2dAe4ESkmHt1fL8wzYDo3mRWQey8uO9UojlBFMneA65kMyxfYP7106c6LzWaq7/haDT6BCQ==}
 
-  core-js@2.6.12:
-    resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==}
-    deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
-
   core-js@3.33.3:
     resolution: {integrity: sha512-lo0kOocUlLKmm6kv/FswQL8zbkH7mVsLJ/FULClOhv8WRVmKLVcs6XPNQAzstfeJTCHMyButEwG+z1kHxHoDZw==}
 
@@ -2564,6 +2545,7 @@ packages:
   eslint@8.54.0:
     resolution: {integrity: sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+    deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options.
     hasBin: true
 
   espree@9.6.1:
@@ -4417,9 +4399,6 @@ packages:
       react: ^16.6.0 || ^17.0.0 || ^18.0.0
       react-dom: ^16.6.0 || ^17.0.0 || ^18.0.0
 
-  react-hubspot-form@1.3.7:
-    resolution: {integrity: sha512-gDeqIt23QlDfF7ci+jKAOKd2C4Ek4Nih+wzx+cttkvD1SdxsuL/mb+BylRiy7RjMS+4KAtQ3Jl7Iot1agJIUjQ==}
-
   react-is@16.13.1:
     resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
 
@@ -4506,9 +4485,6 @@ packages:
   regenerate@1.4.2:
     resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==}
 
-  regenerator-runtime@0.11.1:
-    resolution: {integrity: sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==}
-
   regenerator-runtime@0.13.11:
     resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==}
 
@@ -4877,9 +4853,6 @@ packages:
   string-convert@0.2.1:
     resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==}
 
-  string-hash@1.1.3:
-    resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==}
-
   string-width@4.2.3:
     resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
     engines: {node: '>=8'}
@@ -4928,25 +4901,12 @@ packages:
   style-to-object@0.4.4:
     resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==}
 
-  styled-jsx@2.2.7:
-    resolution: {integrity: sha512-L67wypf8ULpAFxbVefl7ccE/rutz9w/Q1eJLg8Szm4KyN+bmmmaHYfSyfogfDn2l/CmzOlf8/bHbVSI6EeWYkQ==}
-    peerDependencies:
-      react: 15.x.x || 16.x.x
-
   stylehacks@5.1.1:
     resolution: {integrity: sha512-sBpcd5Hx7G6seo7b1LkpttvTz7ikD0LlH5RmdcBNb6fFR0Fl7LQwHDFr300q4cwUqi+IYrFGmsIHieMBfnN/Bw==}
     engines: {node: ^10 || ^12 || >=14.0}
     peerDependencies:
       postcss: ^8.2.15
 
-  stylis-rule-sheet@0.0.10:
-    resolution: {integrity: sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw==}
-    peerDependencies:
-      stylis: ^3.5.0
-
-  stylis@3.5.1:
-    resolution: {integrity: sha512-yM4PyeHuwhIOUHNJxi1/Mbq8kVLv4AkyE7IYLP/LK0lIFcr3tRa2H1iZlBYKIxOlf+/jruBTe8DdKSyQX9w4OA==}
-
   stylis@4.3.0:
     resolution: {integrity: sha512-E87pIogpwUsUwXw7dNyU4QDjdgVMy52m+XEOPEKUn161cCzWjjhPSQhByfd1CcNvrOLnXQ6OnnZDwnJrz/Z4YQ==}
 
@@ -5019,10 +4979,6 @@ packages:
   tiny-warning@1.0.3:
     resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==}
 
-  to-fast-properties@1.0.3:
-    resolution: {integrity: sha512-lxrWP8ejsq+7E3nNjwYmUBMAgjMTZoTI+sdBOpvNyijeDLa29LUn9QaoXAHv4+Z578hbmHHJKZknzxVtvo77og==}
-    engines: {node: '>=0.10.0'}
-
   to-fast-properties@2.0.0:
     resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
     engines: {node: '>=4'}
@@ -7799,20 +7755,6 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
-  babel-plugin-syntax-jsx@6.18.0: {}
-
-  babel-runtime@6.26.0:
-    dependencies:
-      core-js: 2.6.12
-      regenerator-runtime: 0.11.1
-
-  babel-types@6.26.0:
-    dependencies:
-      babel-runtime: 6.26.0
-      esutils: 2.0.3
-      lodash: 4.17.21
-      to-fast-properties: 1.0.3
-
   bail@2.0.2: {}
 
   balanced-match@1.0.2: {}
@@ -8106,8 +8048,6 @@ snapshots:
 
   content-type@1.0.5: {}
 
-  convert-source-map@1.5.1: {}
-
   convert-source-map@2.0.0: {}
 
   cookie-signature@1.0.6: {}
@@ -8134,8 +8074,6 @@ snapshots:
 
   core-js-pure@3.33.3: {}
 
-  core-js@2.6.12: {}
-
   core-js@3.33.3: {}
 
   core-util-is@1.0.3: {}
@@ -11058,12 +10996,6 @@ snapshots:
       react-fast-compare: 3.2.2
       shallowequal: 1.1.0
 
-  react-hubspot-form@1.3.7(react@18.0.0):
-    dependencies:
-      styled-jsx: 2.2.7(react@18.0.0)
-    transitivePeerDependencies:
-      - react
-
   react-is@16.13.1: {}
 
   react-json-view-lite@1.2.1(react@18.0.0):
@@ -11175,8 +11107,6 @@ snapshots:
 
   regenerate@1.4.2: {}
 
-  regenerator-runtime@0.11.1: {}
-
   regenerator-runtime@0.13.11: {}
 
   regenerator-runtime@0.14.0: {}
@@ -11605,8 +11535,6 @@ snapshots:
 
   string-convert@0.2.1: {}
 
-  string-hash@1.1.3: {}
-
   string-width@4.2.3:
     dependencies:
       emoji-regex: 8.0.0
@@ -11658,30 +11586,12 @@ snapshots:
     dependencies:
       inline-style-parser: 0.1.1
 
-  styled-jsx@2.2.7(react@18.0.0):
-    dependencies:
-      babel-plugin-syntax-jsx: 6.18.0
-      babel-runtime: 6.26.0
-      babel-types: 6.26.0
-      convert-source-map: 1.5.1
-      react: 18.0.0
-      source-map: 0.6.1
-      string-hash: 1.1.3
-      stylis: 3.5.1
-      stylis-rule-sheet: 0.0.10(stylis@3.5.1)
-
   stylehacks@5.1.1(postcss@8.4.31):
     dependencies:
       browserslist: 4.22.1
       postcss: 8.4.31
       postcss-selector-parser: 6.0.13
 
-  stylis-rule-sheet@0.0.10(stylis@3.5.1):
-    dependencies:
-      stylis: 3.5.1
-
-  stylis@3.5.1: {}
-
   stylis@4.3.0: {}
 
   supports-color@5.5.0:
@@ -11748,8 +11658,6 @@ snapshots:
 
   tiny-warning@1.0.3: {}
 
-  to-fast-properties@1.0.3: {}
-
   to-fast-properties@2.0.0: {}
 
   to-regex-range@5.0.1: