send/app/pages/error/index.js

11 lines
295 B
JavaScript
Raw Normal View History

const html = require('choo/html');
const assets = require('../../../common/assets');
module.exports = function(state) {
return html`
2018-02-22 00:28:40 +00:00
<div class="page">
<div class="title">${state.translate('errorPageHeader')}</div>
2018-02-22 00:28:40 +00:00
<img src="${assets.get('illustration_error.svg')}"/>
</div>`;
};