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

19 lines
602 B
JavaScript

const html = require('choo/html');
const assets = require('../../../common/assets');
module.exports = function(state) {
const div = html`
<div class="notFoundPage">
<div class="title">${state.translate('expiredPageHeader')}</div>
<div class="notFoundPage__img">
<img src="${assets.get('illustration_expired.svg')}" id="expired-img">
</div>
<div class="description">
${state.translate('uploadPageExplainer')}
</div>
<a class="link link--action" href="/">
${state.translate('sendYourFilesLink')}
</a>
</div>`;
return div;
};