drop.chapril.org-firefoxsend/app/ui/intro.js

21 lines
643 B
JavaScript
Raw Normal View History

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