From 0d2e06e7741095dadd59b1e9b17188059f2781bd Mon Sep 17 00:00:00 2001 From: YOUR NAME Date: Fri, 15 Jun 2018 06:19:53 +1000 Subject: [PATCH] testing POST to netlify --- src/components/Drift.js | 53 ++++++++++++++++++++++------------------- src/components/Form.js | 2 +- 2 files changed, 29 insertions(+), 26 deletions(-) diff --git a/src/components/Drift.js b/src/components/Drift.js index 0c15ab2..a5628f4 100644 --- a/src/components/Drift.js +++ b/src/components/Drift.js @@ -5,36 +5,39 @@ export default class Drift extends React.Component { return (
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'); */} + +
); } } // -// + // \ No newline at end of file diff --git a/src/components/Form.js b/src/components/Form.js index 4b47b1b..eb43776 100644 --- a/src/components/Form.js +++ b/src/components/Form.js @@ -26,7 +26,7 @@ export default class EmailForm extends React.Component { />
- +
);