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

25 lines
614 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="email-subscribe" class="newsletter-cta">
<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 type="text" class="newsletter-cta__input" v-model="emailAddress" placeholder="you@domain.tld">
<a class="newsletter-cta__submit" href="#" v-on:click.prevent="subscribe" title="Subscribe to our technical newsletter">Subscribe</a>
2018-07-12 17:21:42 +02:00
</div>
2018-07-13 23:58:24 +02:00
<p class="newsletter-cta__message"></p>
</div>
`;