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-01-30 16:59:22 +01:00
|
|
|
<send-intro class="flex flex-col items-center justify-center bg-white border border-grey-light md:border-none px-6 text-center md:py-0 py-6 mb-0 h-full w-full">
|
2018-11-05 23:19:26 +01:00
|
|
|
<div class="flex flex-col items-center justify-between h-full py-8">
|
2018-11-05 09:12:40 +01:00
|
|
|
<p class="text-center">
|
|
|
|
<div class="font-semibold leading-normal">${state.translate(
|
|
|
|
'uploadPageHeader'
|
|
|
|
)}</div>
|
|
|
|
<div class="italic text-sm opacity-75 leading-normal">${state.translate(
|
|
|
|
'pageHeaderCredits'
|
|
|
|
)}</div>
|
|
|
|
</p>
|
|
|
|
<img class="my-6" src="${assets.get('illustration_download.svg')}"/>
|
|
|
|
<p class="md:mx-6 max-w-sm text-sm opacity-50 leading-normal">${state.translate(
|
|
|
|
'uploadPageExplainer'
|
|
|
|
)}</p>
|
|
|
|
</div>
|
2019-01-11 01:22:40 +01:00
|
|
|
</send-intro>`;
|
2018-10-30 03:06:15 +01:00
|
|
|
};
|