change asset src's to S3 links (#1734)

* add disclaimer about changing the script

* add hash for obsolete browser script

* add explicit domain img-src

* add single quotes

* add quotes to `data:`

* change order and remove single quotes

* lint, remove extra slash, and make hash an array

* add links to S3
This commit is contained in:
Severiano Badajoz
2020-08-12 10:38:49 -07:00
committed by GitHub
parent 44c738e2f4
commit 518768e8f8
@@ -21,7 +21,7 @@
" "
> >
<img <img
src="https://raw.githubusercontent.com/chanzuckerberg/cellxgene/main/docs/cellxgene-logo.png" src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/cellxgene-logo.png"
style="width: 320px;" style="width: 320px;"
/> />
<div <div
@@ -51,28 +51,28 @@
aria-label="Download Google Chrome" aria-label="Download Google Chrome"
> >
<img <img
src="https://assets.beta.meta.org/images/browsers/chrome.png" src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/chrome.png"
style="width: 80px; height: 80px;" style="width: 80px; height: 80px;"
/> />
<div>Chrome &gt; 60</div> <div>Chrome &gt; 60</div>
</a> </a>
<a href="https://www.apple.com/safari/" aria-label="Download Safari"> <a href="https://www.apple.com/safari/" aria-label="Download Safari">
<img <img
src="https://assets.beta.meta.org/images/browsers/safari.png" src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/safari.png"
style="width: 80px; height: 80px;" style="width: 80px; height: 80px;"
/> />
<div>Safari ≥ 10.1</div> <div>Safari ≥ 10.1</div>
</a> </a>
<a href="https://www.mozilla.com/firefox/" aria-label="Download Firefox"> <a href="https://www.mozilla.com/firefox/" aria-label="Download Firefox">
<img <img
src="https://assets.beta.meta.org/images/browsers/firefox.png" src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/firefox.png"
style="width: 80px; height: 80px;" style="width: 80px; height: 80px;"
/> />
<div>Firefox ≥ 60</div> <div>Firefox ≥ 60</div>
</a> </a>
<a href="//www.microsoft.com/edge" aria-label="Download Edge"> <a href="//www.microsoft.com/edge" aria-label="Download Edge">
<img <img
src="https://assets.beta.meta.org/images/browsers/edge.png" src="https://cellxgene.cziscience.com/s3/cellxgene/static/images/edge.png"
style="width: 80px; height: 80px;" style="width: 80px; height: 80px;"
/> />
<div>Edge ≥ 15</div> <div>Edge ≥ 15</div>