mirror of
https://github.com/kingomarnajjar/innovationdrive.git
synced 2026-07-25 22:27:27 +10:00
testing POST to netlify
This commit is contained in:
parent
314ebe15cb
commit
0d2e06e774
2 changed files with 29 additions and 26 deletions
|
|
@ -5,36 +5,39 @@ export default class Drift extends React.Component {
|
|||
return (
|
||||
<div className="Drift">
|
||||
Add Drift here
|
||||
"use strict";
|
||||
|
||||
{/* !function() {
|
||||
var t = window.driftt = window.drift = window.driftt || [];
|
||||
if (!t.init) {
|
||||
if (t.invoked) return void (window.console && console.error && console.error("Drift snippet included twice."));
|
||||
t.invoked = !0, t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ],
|
||||
t.factory = function(e) {
|
||||
return function() {
|
||||
var n = Array.prototype.slice.call(arguments);
|
||||
return n.unshift(e), t.push(n), t;
|
||||
};
|
||||
}, t.methods.forEach(function(e) {
|
||||
t[e] = t.factory(e);
|
||||
}), t.load = function(t) {
|
||||
var e = 3e5, n = Math.ceil(new Date() / e) * e, o = document.createElement("script");
|
||||
o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js";
|
||||
var i = document.getElementsByTagName("script")[0];
|
||||
i.parentNode.insertBefore(o, i);
|
||||
};
|
||||
}
|
||||
}();
|
||||
drift.SNIPPET_VERSION = '0.3.1';
|
||||
drift.load('g4nnbv58ni3w'); */}
|
||||
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// <!-- Start of Async Drift Code -->
|
||||
// <script>
|
||||
// "use strict";
|
||||
<script>
|
||||
|
||||
// !function() {
|
||||
// var t = window.driftt = window.drift = window.driftt || [];
|
||||
// if (!t.init) {
|
||||
// if (t.invoked) return void (window.console && console.error && console.error("Drift snippet included twice."));
|
||||
// t.invoked = !0, t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ],
|
||||
// t.factory = function(e) {
|
||||
// return function() {
|
||||
// var n = Array.prototype.slice.call(arguments);
|
||||
// return n.unshift(e), t.push(n), t;
|
||||
// };
|
||||
// }, t.methods.forEach(function(e) {
|
||||
// t[e] = t.factory(e);
|
||||
// }), t.load = function(t) {
|
||||
// var e = 3e5, n = Math.ceil(new Date() / e) * e, o = document.createElement("script");
|
||||
// o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js";
|
||||
// var i = document.getElementsByTagName("script")[0];
|
||||
// i.parentNode.insertBefore(o, i);
|
||||
// };
|
||||
// }
|
||||
// }();
|
||||
// drift.SNIPPET_VERSION = '0.3.1';
|
||||
// drift.load('g4nnbv58ni3w');
|
||||
// </script>
|
||||
</script>
|
||||
// <!-- End of Async Drift Code -->
|
||||
|
|
@ -26,7 +26,7 @@ export default class EmailForm extends React.Component {
|
|||
/>
|
||||
</FormGroup>
|
||||
<div data-netlify-recaptcha />
|
||||
<Button color="success" type="submit">Send</Button>
|
||||
<Button color="success" onclick={ThankYouAlert} type="submit">Send</Button>
|
||||
</Form>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue