1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-11 13:42:56 +01:00
send/app/pages/notFound/index.js

20 lines
602 B
JavaScript
Raw Normal View History

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">
2017-08-25 22:14:17 +02:00
<img src="${assets.get('illustration_expired.svg')}" id="expired-img">
</div>
<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>`;
return div;
};