send/app/ui/intro.js

21 lines
683 B
JavaScript
Raw Normal View History

2018-10-30 02:06:15 +00:00
const html = require('choo/html');
const assets = require('../../common/assets');
module.exports = function intro(state) {
return html`
2019-02-14 17:33:49 +00:00
<send-intro
class="flex flex-col items-center justify-center bg-white border border-grey-light md:border-none px-6 md:py-0 py-6 mb-0 h-full w-full"
>
<div class="flex flex-col justify-end h-full py-8">
2019-02-14 20:23:27 +00:00
<h1 class="font-bold">
2019-02-14 17:33:49 +00:00
${state.translate('uploadPageHeader')}
</h1>
2019-02-14 20:23:27 +00:00
<p class="max-w-sm mt-2 font-light leading-normal">
2019-02-14 17:33:49 +00:00
${state.translate('uploadPageExplainer')}
</p>
2019-02-14 19:39:28 +00:00
<img class="-mb-12" src="${assets.get('intro.png')}" />
2019-02-14 17:33:49 +00:00
</div>
</send-intro>
`;
2018-10-30 02:06:15 +00:00
};