diff --git a/src/components/Contact.js b/src/components/Contact.js index d3d22f86ab..20ed6c1237 100644 --- a/src/components/Contact.js +++ b/src/components/Contact.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import './contact.css'; -import Button from 'react-bootstrap/Button'; +import SubscribeButton from './SubscribeButton'; // Component for the Contact & Edit section at the bottom of each page. // If a pageSlug prop is provided, a link to the according github page will be provided. @@ -56,29 +56,7 @@ export default function Contact({ pageSlug, isNotebook }) {
-
- - - {pageSlug && ( - - )} - -
+ ); } diff --git a/src/components/SubscribeButton.js b/src/components/SubscribeButton.js new file mode 100644 index 0000000000..716ea6f599 --- /dev/null +++ b/src/components/SubscribeButton.js @@ -0,0 +1,14 @@ +import React from 'react'; +import './subscribe-button.css'; + +export default function SubscribeButton() { + return ( +
+