3
0
Fork 0

Add form target and redirect page

master
Ambrose Chua 2018-07-01 17:53:57 +08:00
parent 46d238e73c
commit a7028f612f
6 changed files with 51 additions and 3 deletions

View File

@ -27,6 +27,7 @@ date: 2018-06-30T17:53:55+08:00
</div>
<section class="features" id="features">
</section>
<div class="getnotified-wrapper">
@ -34,8 +35,8 @@ date: 2018-06-30T17:53:55+08:00
<h1>Want to be the first to experience Beep?</h1>
<form action="#">
<input type="email" placeholder="Enter your email" />
<form action="/subscribe" method="post">
<input name="email" type="email" placeholder="Enter your email" />
<button type="submit" class="material-icons">done</button>
</form>

View File

@ -18,3 +18,4 @@ date: 2018-06-30T17:53:55+08:00
</section>
</div>

View File

@ -6,6 +6,8 @@ date: 2018-06-30T17:53:55+08:00
<section class="frame">
<h1>So I heard you're interested...</h1>
<p>Contact us! <a href="mailto:sayhi@beepvoice">sayhi@beepvoice.app</a> or find us on <a href="https://twitter.com/beepvoice">Twitter</a>. </p>
<p>
Contact us! <a href="mailto:sayhi@beepvoice">sayhi@beepvoice.app</a> or <a href="javascript:drift.api.openChat()">drop us a message</a>.
</p>
</section>

View File

@ -0,0 +1,14 @@
---
title: "Subscription"
date: 2018-06-30T17:53:55+08:00
---
<section class="frame">
<h1>Thanks for subscribing</h1>
<p>
We'll notify you when we're ready. Meanwhile, follow our <a href="https://twitter.com/beepvoice">Twitter</a> and spread the word!
</p>
</section>

View File

@ -1,5 +1,7 @@
{{ partial "header.html" . }}
{{ partial "drift.html" . }}
<div class="navbar-wrapper">
<nav class="navbar">
<div class="brand">

View File

@ -0,0 +1,28 @@
<!-- Start of Async Drift Code -->
<script>
"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('pym6vsrasvec');
</script>
<!-- End of Async Drift Code -->