wip on download page

This commit is contained in:
Danny Coates 2018-10-30 11:37:33 -07:00
parent 12e6eb1666
commit 26a943939d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
11 changed files with 39 additions and 50 deletions

View file

@ -1,6 +1,7 @@
/* global downloadMetadata */
const html = require('choo/html');
const archiveTile = require('./archiveTile');
const intro = require('./intro');
function password(state, emit) {
const fileInfo = state.fileInfo;
@ -96,8 +97,9 @@ module.exports = function(state, emit) {
}
return html`
<main class="main container">
<section class="relative h-full w-full my-4 px-6">
${content}
<section class="relative h-full w-full px-6 md:flex md:flex-row">
<div class="pt-4 md:mr-6 md:pb-4 md:w-1/2">${content}</div>
<div class="pt-4 md:w-1/2">${intro(state)}</div>
</section>
</main>`;
};