Revert "Newsletter Subscribe (#1258)"
This reverts commit dca530f2cf.
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
This commit is contained in:
parent
dca530f2cf
commit
15a403ea0e
|
|
@ -32,7 +32,6 @@
|
||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "17.0.2",
|
||||||
"react-github-btn": "^1.4.0",
|
"react-github-btn": "^1.4.0",
|
||||||
"react-mailchimp-subscribe": "^2.1.3",
|
|
||||||
"sass": "^1.63.6"
|
"sass": "^1.63.6"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
import React from 'react';
|
|
||||||
import MailchimpSubscribe from 'react-mailchimp-subscribe';
|
|
||||||
|
|
||||||
const Newsletter = () => {
|
|
||||||
return (
|
|
||||||
<div style={{ padding: '20px' }}>
|
|
||||||
<MailchimpSubscribe url="https://kubevela.us17.list-manage.com/subscribe/post?u=27213eba6a4772c86d2332aeb&id=f0873592ac&f_id=002857e0f0" />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Newsletter;
|
|
||||||
|
|
@ -9,7 +9,6 @@ import FeatureList from '../components/FeatureList';
|
||||||
import Button from '../components/button';
|
import Button from '../components/button';
|
||||||
import WhatIs from '../components/WhatIs';
|
import WhatIs from '../components/WhatIs';
|
||||||
import Integration from '../components/Integration';
|
import Integration from '../components/Integration';
|
||||||
import Newsletter from '../components/Newsletter';
|
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const context = useDocusaurusContext();
|
const context = useDocusaurusContext();
|
||||||
|
|
@ -71,7 +70,6 @@ export default function Home() {
|
||||||
<div className="cncf-Logo" />
|
<div className="cncf-Logo" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Newsletter />
|
|
||||||
</Layout>
|
</Layout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue