added gradient experiment
This commit is contained in:
parent
4fb4041f13
commit
94e707da8a
3 changed files with 42 additions and 7 deletions
|
@ -5,8 +5,15 @@ module.exports = function(state, emit) {
|
|||
function clicked() {
|
||||
emit('experiment', { cd3: 'promo' });
|
||||
}
|
||||
|
||||
const classes = state.promo === 'blue' ? 'banner banner-blue' : 'banner';
|
||||
let classes = 'banner';
|
||||
switch (state.promo) {
|
||||
case 'blue':
|
||||
classes = 'banner banner-blue';
|
||||
break;
|
||||
case 'pink':
|
||||
classes = 'banner banner-pink';
|
||||
break;
|
||||
}
|
||||
|
||||
return html`
|
||||
<div class="${classes}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue