2017-08-24 23:54:02 +02:00
|
|
|
const html = require('choo/html');
|
2018-02-13 20:32:59 +01:00
|
|
|
const assets = require('../../../common/assets');
|
2017-08-24 23:54:02 +02:00
|
|
|
|
|
|
|
module.exports = function(state) {
|
|
|
|
const div = html`
|
2018-02-13 20:32:59 +01:00
|
|
|
<div class="notFoundPage">
|
2017-08-24 23:54:02 +02:00
|
|
|
<div class="title">${state.translate('expiredPageHeader')}</div>
|
2018-02-13 20:32:59 +01:00
|
|
|
<div class="notFoundPage__img">
|
2017-08-25 22:14:17 +02:00
|
|
|
<img src="${assets.get('illustration_expired.svg')}" id="expired-img">
|
2017-08-24 23:54:02 +02:00
|
|
|
</div>
|
2018-02-13 20:32:59 +01:00
|
|
|
<div class="description">
|
2018-01-24 19:23:13 +01:00
|
|
|
${state.translate('uploadPageExplainer')}
|
|
|
|
</div>
|
2018-02-13 20:32:59 +01:00
|
|
|
<a class="link link--action" href="/">
|
2018-01-24 19:23:13 +01:00
|
|
|
${state.translate('sendYourFilesLink')}
|
|
|
|
</a>
|
2018-02-13 20:32:59 +01:00
|
|
|
</div>`;
|
2017-08-24 23:54:02 +02:00
|
|
|
return div;
|
|
|
|
};
|