fixed some html nits
This commit is contained in:
parent
5650c7f778
commit
484063a596
@ -1,4 +1,5 @@
|
|||||||
const html = require('choo/html');
|
const html = require('choo/html');
|
||||||
|
const raw = require('choo/html/raw');
|
||||||
const assets = require('../../../common/assets');
|
const assets = require('../../../common/assets');
|
||||||
/*
|
/*
|
||||||
The current weback config uses package.json to generate
|
The current weback config uses package.json to generate
|
||||||
@ -14,6 +15,7 @@ const version = require('../../../package.json').version || 'VERSION';
|
|||||||
const browser = browserName();
|
const browser = browserName();
|
||||||
|
|
||||||
module.exports = function(state) {
|
module.exports = function(state) {
|
||||||
|
const feedbackUrl = `https://qsurvey.mozilla.com/s3/txp-firefox-send?ver=${version}&browser=${browser}`;
|
||||||
return html`<header class="header">
|
return html`<header class="header">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<a class="logo__link" href="/">
|
<a class="logo__link" href="/">
|
||||||
@ -27,7 +29,7 @@ module.exports = function(state) {
|
|||||||
<div>${state.translate('siteSubtitle')}</div>
|
<div>${state.translate('siteSubtitle')}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a href="https://qsurvey.mozilla.com/s3/txp-firefox-send?ver=${version}&browser=${browser}"
|
<a href="${raw(feedbackUrl)}"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
class="feedback"
|
class="feedback"
|
||||||
target="_blank">${state.translate('siteFeedback')}</a>
|
target="_blank">${state.translate('siteFeedback')}</a>
|
||||||
|
@ -60,7 +60,7 @@ module.exports = function(state, body = '') {
|
|||||||
'favicon-144.png'
|
'favicon-144.png'
|
||||||
)}">
|
)}">
|
||||||
|
|
||||||
<!— Windows 8.1 + IE11 and above —>
|
<!-- Windows 8.1 + IE11 and above -->
|
||||||
<meta name="msapplication-config" content="/browserconfig.xml"/>
|
<meta name="msapplication-config" content="/browserconfig.xml"/>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user