some wip. still broken
This commit is contained in:
parent
5b939d2c95
commit
2b81ff1fb3
28 changed files with 305 additions and 391 deletions
18
app/pages/split.js
Normal file
18
app/pages/split.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
const html = require('choo/html');
|
||||
const title = require('../templates/title');
|
||||
const signupPromo = require('../templates/signupPromo');
|
||||
|
||||
module.exports = function(state, a, b) {
|
||||
return html`
|
||||
<div class="split">
|
||||
<div class="split__left">
|
||||
${title(state)}
|
||||
${a}
|
||||
</div>
|
||||
<div class="split__right">
|
||||
${signupPromo(state)}
|
||||
${b}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue