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