send/app/ui/welcome.js
2018-11-01 10:44:45 -07:00

10 lines
294 B
JavaScript

const html = require('choo/html');
const archiveList = require('./archiveList');
const modal = require('./modal');
module.exports = function(state, emit) {
return html`<main class="main container relative">
${state.modal && modal(state, emit)}
${archiveList(state, emit)}
</main>`;
};