lbry.tech/views/partials/email-subscribe.js

25 lines
644 B
JavaScript
Raw Normal View History

2018-07-12 17:21:42 +02:00
"use strict";
// P A C K A G E
const html = require("choo-async/html");
2018-07-13 23:58:24 +02:00
// E X P O R T
2018-07-12 17:21:42 +02:00
2018-07-13 23:58:24 +02:00
module.exports = exports = () => html`
<div id="emailSubscribe" class="newsletter-cta">
2018-07-13 23:58:24 +02:00
<h3 class="newsletter-cta__title">Don't miss a bit - Subscribe for LBRY technical updates</h3>
2018-07-12 17:21:42 +02:00
2018-07-13 23:58:24 +02:00
<div>
<input class="newsletter-cta__input" id="emailAddress" placeholder="you@domain.tld" type="text"/>
<button class="newsletter-cta__submit" data-action="subscribe to newsletter" title="Subscribe to our technical newsletter" type="button">Subscribe</a>
2018-07-12 17:21:42 +02:00
</div>
<p class="newsletter-cta__message" id="emailMessage"></p>
2018-07-13 23:58:24 +02:00
</div>
`;