send/app/pages/password/index.js

20 lines
517 B
JavaScript
Raw Normal View History

2018-07-31 18:09:18 +00:00
const html = require('choo/html');
const titleSection = require('../../templates/title');
const downloadPassword = require('../../templates/downloadPassword');
module.exports = function(state, emit) {
return html`
2018-10-16 23:53:33 +00:00
<main class="main page">
2018-07-31 18:09:18 +00:00
${titleSection(state)}
2018-10-16 23:53:33 +00:00
2018-07-31 18:09:18 +00:00
<div class="description">${state.translate('downloadMessage2')}</div>
${downloadPassword(state, emit)}
<a class="link link--action" href="/">
${state.translate('sendYourFilesLink')}
</a>
2018-10-16 23:53:33 +00:00
</main>
2018-07-31 18:09:18 +00:00
`;
};