const html = require('choo/html'); const Component = require('choo/component'); const assets = require('../../common/assets'); class Promo extends Component { constructor(name, state) { super(name); this.state = state; } update() { return false; } createElement() { return html`
Firefox ${this.state.translate('trailheadPromo')}${' '} ${this.state.translate('learnMore')}
`; } } module.exports = Promo;