color promo experiment

This commit is contained in:
Danny Coates 2017-12-05 14:06:40 -08:00
parent da4338ed69
commit b2c1daa6c7
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
8 changed files with 23 additions and 14 deletions

View file

@ -1,9 +1,8 @@
const html = require('choo/html');
const progress = require('./progress');
const { bytes } = require('../utils');
const fxPromo = require('./fxPromo');
module.exports = function(state, emit) {
module.exports = function(state) {
const transfer = state.transfer;
const div = html`
<div id="page-one">
@ -24,7 +23,6 @@ module.exports = function(state, emit) {
)}</div>
</div>
</div>
${state.promo === 'body' ? fxPromo(state, emit) : ''}
</div>
`;