This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/main by this push:
new e807a7a chore: drop cloud waitlist page widget (#97)
e807a7a is described below
commit e807a7af5e48b3dfb505854f029753daf480362f
Author: tison <[email protected]>
AuthorDate: Fri Oct 20 22:46:51 2023 +0800
chore: drop cloud waitlist page widget (#97)
Signed-off-by: tison <[email protected]>
---
.../index.md | 4 --
i18n/zh-CN/code.json | 9 ----
.../index.md | 4 --
src/components/HomePageHeader/index.tsx | 10 -----
src/pages/waitlist.tsx | 51 ----------------------
5 files changed, 78 deletions(-)
diff --git a/blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
b/blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
index 5852c9e..932547f 100644
--- a/blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
+++ b/blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
@@ -72,7 +72,3 @@ With a simple and intuitive design, you can build a
[knowledge base](../2023-05-
## How do I Get Answer?
Oh, it’s easy. Everything you need is
[here](https://answer.dev/docs/installation/), and just follow the guide.
-
-## I saw Answer cloud, what is it?
-
-Answer Cloud is the SaaS version of Answer, designed to assist businesses in
setting up their Answer quickly without technical assistance.
diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json
index 338e6fe..cc7c9ca 100644
--- a/i18n/zh-CN/code.json
+++ b/i18n/zh-CN/code.json
@@ -440,18 +440,9 @@
"message": "标签",
"description": "The title of the tag list page"
},
- "waitlist.title": {
- "message": "Answer Cloud 即将发布!"
- },
- "waitlist.description": {
- "message": "我们正在努力构建 Answer Cloud
解决方案。你可以填写表格,以获取最新的产品更新、开发灵感和用户研究案例。我们将始终守护你的信息安全。"
- },
"loading": {
"message": "加载中..."
},
- "home.waitlist.title": {
- "message": "👋 加入 Answer Cloud 等候名单"
- },
"home.title.build": {
"message": "用 Answer 打造"
},
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
b/i18n/zh-CN/docusaurus-plugin-content-blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
index 5852c9e..932547f 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-blog/2023-06-29-everything-you-need-to-know-about-answer/index.md
@@ -72,7 +72,3 @@ With a simple and intuitive design, you can build a
[knowledge base](../2023-05-
## How do I Get Answer?
Oh, it’s easy. Everything you need is
[here](https://answer.dev/docs/installation/), and just follow the guide.
-
-## I saw Answer cloud, what is it?
-
-Answer Cloud is the SaaS version of Answer, designed to assist businesses in
setting up their Answer quickly without technical assistance.
diff --git a/src/components/HomePageHeader/index.tsx
b/src/components/HomePageHeader/index.tsx
index 22c53f7..4aa8988 100644
--- a/src/components/HomePageHeader/index.tsx
+++ b/src/components/HomePageHeader/index.tsx
@@ -79,16 +79,6 @@ const HomeHead: FC = () => {
return (
<header className='pt-4 pb-3'>
<div className="container">
- <Link
- to="/waitlist"
- className="d-flex align-items-center justify-content-center
text-secondary pb-5 mb-3"
- >
- <Translate id="home.waitlist.title">
- 👋 Join the Answer Cloud Waitlist
- </Translate>
-
- <Icon name="arrow-right" size="16px" className="ms-1" />
- </Link>
<Row className='justify-content-center'>
<Col md={12} lg={10} className='d-flex flex-column
align-items-center'>
<img
diff --git a/src/pages/waitlist.tsx b/src/pages/waitlist.tsx
deleted file mode 100644
index d0097f2..0000000
--- a/src/pages/waitlist.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-import React, { useEffect } from 'react';
-import Translate from '@docusaurus/Translate';
-import HubspotForm from 'react-hubspot-form';
-import Layout from '@theme/Layout';
-import { Spinner } from 'react-bootstrap';
-
-export default function Home(): JSX.Element {
- useEffect(() => {
- // 动态加载 js
- const script = document.createElement('script');
- script.src = '//js.hsforms.net/forms/v2.js';
- document.body.appendChild(script);
-
- return () => {
- document.body.removeChild(script);
- };
- }, []);
- return (
- <Layout title='Waitlist' description="An open-source knowledge-based
community software. You can use it quickly to build Q&A community for your
products, customers, teams, and more.">
- <div className="container mt-5">
- <div className="row justify-content-center">
- <div className="col col--6" style={{ marginBottom: '3.5rem' }}>
- <h1>
- <Translate id="waitlist.title">
- Answer Cloud is coming soon!
- </Translate>
- </h1>
- <p className="margin-bottom--lg padding-bottom--md">
- <Translate id="waitlist.description">
- We are working hard to build Answer Cloud solution. Fill out
the form now to stay on top of the latest product updates, development
inspirations, and user research prompt. We will keep your information secure at
all times.
- </Translate>
- </p>
- <HubspotForm
- portalId="23567456"
- formId="c5961d1c-d7ee-42e6-ab2f-bdaa3d3f2fc8"
- loading={<div className='text-center'>
- <Spinner animation="border" role="status" variant="secondary">
- <span className="visually-hidden">
- <Translate id="loading">
- Loading...
- </Translate>
- </span>
- </Spinner>
- </div> }
- />
- </div>
- </div>
- </div>
- </Layout>
- );
-}