send/app/pages/error/index.js
2018-02-15 15:54:59 -08:00

10 lines
323 B
JavaScript

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