drop.chapril.org-firefoxsend/app/pages/notFound/index.js

23 lines
633 B
JavaScript
Raw Normal View History

const html = require('choo/html');
const assets = require('../../../common/assets');
2018-07-31 20:09:18 +02:00
const title = require('../../templates/title');
module.exports = function(state) {
2018-02-16 21:56:53 +01:00
return html`
2018-02-22 01:33:06 +01:00
<div class="page">
2018-07-31 20:09:18 +02:00
${title(state)}
<div class="error">${state.translate('expiredPageHeader')}</div>
<img src="${assets.get(
'illustration_expired.svg'
)}" class="flexible" id="expired-img">
<div class="description">
2018-01-24 19:23:13 +01:00
${state.translate('uploadPageExplainer')}
</div>
<a class="link link--action" href="/">
2018-01-24 19:23:13 +01:00
${state.translate('sendYourFilesLink')}
</a>
</div>`;
};