send/app/ui/intro.js
John Gruen 7197cc3bea Add legal and final strings (#1185)
* add legal and final strings

* removed unneeded suffixes from string ids

* removed unused strings and simplified string ids for vnext-only strings

* reword nostreams option
2019-03-04 14:13:17 -08:00

20 lines
634 B
JavaScript

const html = require('choo/html');
const assets = require('../../common/assets');
module.exports = function intro(state) {
return html`
<send-intro
class="flex flex-col items-center justify-center bg-white px-6 md:py-0 py-6 mb-0 h-full w-full"
>
<div class="flex flex-col justify-end h-full">
<h1 class="font-bold">
${state.translate('introTitle')}
</h1>
<p class="max-w-sm mt-2 pr-16 font-light leading-normal">
${state.translate('introDescription')}
</p>
<img class="intro" src="${assets.get('intro.svg')}" />
</div>
</send-intro>
`;
};