fixed some html nits

This commit is contained in:
Danny Coates 2018-02-26 13:49:26 -08:00
parent 5650c7f778
commit 484063a596
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
const html = require('choo/html');
const raw = require('choo/html/raw');
const assets = require('../../../common/assets');
/*
The current weback config uses package.json to generate
@ -14,6 +15,7 @@ const version = require('../../../package.json').version || 'VERSION';
const browser = browserName();
module.exports = function(state) {
const feedbackUrl = `https://qsurvey.mozilla.com/s3/txp-firefox-send?ver=${version}&browser=${browser}`;
return html`<header class="header">
<div class="logo">
<a class="logo__link" href="/">
@ -27,7 +29,7 @@ module.exports = function(state) {
<div>${state.translate('siteSubtitle')}</div>
</div>
</div>
<a href="https://qsurvey.mozilla.com/s3/txp-firefox-send?ver=${version}&browser=${browser}"
<a href="${raw(feedbackUrl)}"
rel="noreferrer noopener"
class="feedback"
target="_blank">${state.translate('siteFeedback')}</a>

View File

@ -60,7 +60,7 @@ module.exports = function(state, body = '') {
'favicon-144.png'
)}">
<! Windows 8.1 + IE11 and above >
<!-- Windows 8.1 + IE11 and above -->
<meta name="msapplication-config" content="/browserconfig.xml"/>