2017-08-24 23:54:02 +02:00
|
|
|
const html = require('choo/html');
|
2018-02-13 20:32:59 +01:00
|
|
|
const assets = require('../../../common/assets');
|
2018-07-31 20:09:18 +02:00
|
|
|
const title = require('../../templates/title');
|
2017-08-24 23:54:02 +02:00
|
|
|
|
|
|
|
module.exports = function(state) {
|
|
|
|
return html`
|
2018-02-22 01:28:40 +01:00
|
|
|
<div class="page">
|
2018-07-31 20:09:18 +02:00
|
|
|
|
|
|
|
${title(state)}
|
|
|
|
|
|
|
|
<div class="error">${state.translate('errorPageHeader')}</div>
|
|
|
|
<img class="flexible" src="${assets.get('illustration_error.svg')}"/>
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
${state.translate('uploadPageExplainer')}
|
|
|
|
</div>
|
|
|
|
<a class="link link--action" href="/">
|
|
|
|
${state.translate('sendYourFilesLink')}
|
|
|
|
</a>
|
|
|
|
|
2017-08-24 23:54:02 +02:00
|
|
|
</div>`;
|
|
|
|
};
|