Update footer links, remove Mozilla links, update source URL
This commit is contained in:
parent
c6fc1483f6
commit
47cf99140a
1 changed files with 1 additions and 26 deletions
|
@ -1,7 +1,5 @@
|
||||||
const html = require('choo/html');
|
const html = require('choo/html');
|
||||||
const Component = require('choo/component');
|
const Component = require('choo/component');
|
||||||
const version = require('../../package.json').version;
|
|
||||||
const { browserName } = require('../utils');
|
|
||||||
|
|
||||||
class Footer extends Component {
|
class Footer extends Component {
|
||||||
constructor(name, state) {
|
constructor(name, state) {
|
||||||
|
@ -15,8 +13,6 @@ class Footer extends Component {
|
||||||
|
|
||||||
createElement() {
|
createElement() {
|
||||||
const translate = this.state.translate;
|
const translate = this.state.translate;
|
||||||
const browser = browserName();
|
|
||||||
const feedbackUrl = `https://qsurvey.mozilla.com/s3/Firefox-Send-Product-Feedback?ver=${version}&browser=${browser}`;
|
|
||||||
return html`
|
return html`
|
||||||
<footer
|
<footer
|
||||||
class="flex flex-col md:flex-row items-start w-full flex-none self-start p-6 md:p-8 font-medium text-xs text-grey-60 dark:text-grey-40 md:items-center justify-between"
|
class="flex flex-col md:flex-row items-start w-full flex-none self-start p-6 md:p-8 font-medium text-xs text-grey-60 dark:text-grey-40 md:items-center justify-between"
|
||||||
|
@ -25,32 +21,11 @@ class Footer extends Component {
|
||||||
<ul
|
<ul
|
||||||
class="flex flex-col md:flex-row items-start md:items-center md:justify-end"
|
class="flex flex-col md:flex-row items-start md:items-center md:justify-end"
|
||||||
>
|
>
|
||||||
<li class="m-2">
|
|
||||||
<a href="https://www.mozilla.org/about/legal/terms/services/#send">
|
|
||||||
${translate('footerLinkLegal')}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="m-2">
|
<li class="m-2">
|
||||||
<a href="/legal"> ${translate('footerLinkPrivacy')} </a>
|
<a href="/legal"> ${translate('footerLinkPrivacy')} </a>
|
||||||
</li>
|
</li>
|
||||||
<li class="m-2">
|
<li class="m-2">
|
||||||
<a href="https://www.mozilla.org/privacy/websites/#cookies">
|
<a href="https://gitlab.com/timvisee/send">Source</a>
|
||||||
${translate('footerLinkCookies')}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="m-2">
|
|
||||||
<a href="https://github.com/mozilla/send">GitHub </a>
|
|
||||||
</li>
|
|
||||||
<li class="m-2">
|
|
||||||
<a
|
|
||||||
href="${feedbackUrl}"
|
|
||||||
rel="noreferrer noopener"
|
|
||||||
class="feedback-link"
|
|
||||||
alt="Feedback"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
${translate('siteFeedback')}
|
|
||||||
</a>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue