lbry.tech/views/components/layout.js
ポール ウェッブ c8926b8fa1 Refactoring and cleanup
2018-07-13 16:58:24 -05:00

29 lines
560 B
JavaScript
Executable file

"use strict";
// P A C K A G E
const html = require("choo-async/html");
// V A R I A B L E S
const footer = require("../partials/footer");
const navigation = require("../partials/navigation");
// E X P O R T
module.exports = exports = children => (state, emit) => html`
<main>
<noscript>
<p>LBRY is quite fancy and relies on a bit of JavaScript to do these fancy things.</p>
<p>Please enable it, if you can.</p>
</noscript>
${navigation(state, emit)}
${children(state, emit)}
${footer(state, emit)}
</main>
`;