send/app/ui/intro.js

17 lines
616 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`
2018-10-30 21:00:37 +00:00
<article class="flex flex-col items-center justify-center h-full bg-white border border-grey-light p-2">
2018-10-30 02:06:15 +00:00
<p class="text-center">
<div class="font-semibold">${state.translate('uploadPageHeader')}</div>
<div class="italic">${state.translate('pageHeaderCredits')}</div>
</p>
<img src="${assets.get('illustration_download.svg')}"/>
<p class="m-4 max-w-sm text-sm font-light">${state.translate(
'uploadPageExplainer'
)}</p>
</article>`;
};