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`
|
2018-10-30 22:00:37 +01:00
|
|
|
<article class="flex flex-col items-center justify-center h-full bg-white border border-grey-light p-2">
|
2018-10-30 03:06:15 +01: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>`;
|
|
|
|
};
|