const html = require('choo/html'); const assets = require('../../common/assets'); module.exports = function(state) { const msg = state.params.reason === 'outdated' ? html`
${state.translate('notSupportedHeader')}
${state.translate('notSupportedOutdatedDetail')}
${state.translate('updateFirefox')}
${state.translate('uploadPageExplainer')}
` : html`
${state.translate('notSupportedHeader')}
${state.translate('notSupportedDetail')}
${state.translate('notSupportedLink')}
Firefox
${state.translate('downloadFirefoxButtonSub')}
${state.translate('uploadPageExplainer')}
`; const div = html`
${msg}
`; return div; };