github link in footer + tweaks
minified github svg in footer with link to this repository + nits
This commit is contained in:
Родитель
3dcfd14f53
Коммит
be421e8826
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -11,7 +11,7 @@
|
|||
"body-parser": "^1.18.3",
|
||||
"client-oauth2": "^4.2.1",
|
||||
"client-sessions": "^0.8.0",
|
||||
"cpr": "3.0.1",
|
||||
"cpr": "^3.0.1",
|
||||
"dnt-helper": "github:schalkneethling/dnt-helper",
|
||||
"dompurify": "^1.0.4",
|
||||
"dotenv": "^5.0.1",
|
||||
|
|
|
@ -926,6 +926,12 @@ footer .section-wrapper {
|
|||
margin-right: 2em;
|
||||
}
|
||||
|
||||
#github-logo {
|
||||
min-width: 20px;
|
||||
margin-left: 1px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.footer-nav {
|
||||
display: inline-flex;
|
||||
flex-basis: 40%;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<svg id="githublogo" data-name="githublogo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38.96 38"><path d="M20,1a19.49,19.49,0,0,0-6.16,38c1,.18,1.33-.43,1.33-.94s0-1.69,0-3.32C9.73,35.89,8.58,32.1,8.58,32.1a5.14,5.14,0,0,0-2.16-2.85c-1.77-1.21.13-1.18.13-1.18a4.1,4.1,0,0,1,3,2,4.16,4.16,0,0,0,5.67,1.62,4.18,4.18,0,0,1,1.23-2.61c-4.32-.49-8.87-2.16-8.87-9.63a7.51,7.51,0,0,1,2-5.22,7,7,0,0,1,.19-5.16s1.63-.52,5.35,2a18.37,18.37,0,0,1,9.76,0c3.72-2.52,5.35-2,5.35-2a7,7,0,0,1,.19,5.16,7.51,7.51,0,0,1,2,5.22c0,7.49-4.56,9.13-8.9,9.62a4.64,4.64,0,0,1,1.32,3.6c0,2.61,0,4.71,0,5.35s.35,1.12,1.34.93A19.48,19.48,0,0,0,20,1Z" transform="translate(-0.52 -1)" style="fill:#181616;fill-rule:evenodd"/></svg>
|
После Ширина: | Высота: | Размер: 707 B |
|
@ -3,8 +3,8 @@
|
|||
/* global ga */
|
||||
/* global _dntEnabled */
|
||||
|
||||
const trackingProtection = _dntEnabled();
|
||||
if(!trackingProtection) {
|
||||
|
||||
if(_dntEnabled()) {
|
||||
(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments);},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m);
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
<a class="footer-logo-wrapper" href="https://www.mozilla.org"><img src="/img/moz-logo-bw-rgb.svg" alt="Mozilla Logo" /></a>
|
||||
<a href="https://www.mozilla.org/about/legal/">Terms</a>
|
||||
<a href="https://www.mozilla.org/privacy/websites/">Privacy</a>
|
||||
<a id="github-logo" href="https://github.com/mozilla/blurts-server/"><img src="/img/github.svg" alt="Github Logo" /></a>
|
||||
</div>
|
||||
<div class="footer-right">
|
||||
<p>Portions of this content are © 1998-2018 by individual mozilla.org contributors. Content available under a <a href="https://www.mozilla.org/foundation/licensing/website-content/">Creative Commons license</a>.</p>
|
||||
|
|
Загрузка…
Ссылка в новой задаче