diff --git a/src/App.js b/src/App.js index d55df19..3d4108f 100644 --- a/src/App.js +++ b/src/App.js @@ -3,7 +3,7 @@ import "./App.css"; // import HeadNavbar from "./components/Navbar"; import Drift from "./components/Drift"; import AboveTheFold from "./layouts/AboveTheFold"; -import WhatIs from "./layouts/WhatIs?" +import WhatIs from "./layouts/WhatIs" // Make this DRY ~ DO NOT REPEAT YOURSELF class App extends Component { diff --git a/src/components/Form.js b/src/components/Form.js index 39a8d98..d3e829e 100644 --- a/src/components/Form.js +++ b/src/components/Form.js @@ -1,38 +1,39 @@ import React, { Component } from "react"; import ThankYouAlert from "./ThankYouAlert"; import { Button, Input, InputGroup, Form, FormGroup, Label } from "reactstrap"; -import MailchimpSubscribe from "react-mailchimp-subscribe" -const url = "https://innovationdrive.us18.list-manage.com/subscribe/post"; +// import MailchimpSubscribe from "react-mailchimp-subscribe" -// simplest form (only email) -const SimpleForm = () => +// const url = "https://innovationdrive.us18.list-manage.com/subscribe/post"; -// use the render prop and your custom form -const CustomForm = () => ( - ( -
- subscribe(formData)} /> - {status === "sending" &&
sending...
} - {status === "error" &&
} - {status === "success" &&
Subscribed !
} -
- )} - /> -) +// // simplest form (only email) +// const SimpleForm = () => + +// // use the render prop and your custom form +// const CustomForm = () => ( +// ( +//
+// subscribe(formData)} /> +// {status === "sending" &&
sending...
} +// {status === "error" &&
} +// {status === "success" &&
Subscribed !
} +//
+// )} +// /> +// ) export default class EmailForm extends React.Component { render() { return (
-
-

Free Video Consultation

+ +

Sign Up to our newsletter

@@ -40,20 +41,22 @@ export default class EmailForm extends React.Component { -
- +
); } } +// onclick={ThankYouAlert}onclick={ThankYouAlert} // the logic is sign up to recieve free video consultation and invention workbook // First name, last name // then email text area with validation