const html = require('choo/html'); const assets = require('../../../common/assets'); module.exports = function(state, emit) { function clicked() { emit('experiment', { cd3: 'promo' }); } let classes = 'fxPromo'; switch (state.promo) { case 'blue': classes = 'fxPromo fxPromo--blue'; break; case 'pink': classes = 'fxPromo fxPromo--pink'; break; } return html`