send/app/pages/error/index.js
2018-02-21 16:28:40 -08:00

10 lines
295 B
JavaScript

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