send/app/pages/error.js

11 lines
319 B
JavaScript
Raw Normal View History

const html = require('choo/html');
const assets = require('../../common/assets');
module.exports = function(state) {
return html`
<div id="upload-error">
<div class="title">${state.translate('errorPageHeader')}</div>
2017-08-25 20:14:17 +00:00
<img id="upload-error-img" src="${assets.get('illustration_error.svg')}"/>
</div>`;
};