diff --git a/README.md b/README.md index 529e8ea..15ce5a2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Cache a specific hash on a bunch of public gateways. **Note :** All of these (except gateway.ipfs.io and ipfs.io) are hosted by third-parties and should be treated as such. -You can view this website on [IPFS](https://gateway.ipfs.io/ipfs/QmVR48RQfFPNBLJKNzUGNdTjkSPGvnzPKYTxmTBbT3Lpmu/). +You can view this website on [IPFS](https://gateway.ipfs.io/ipfs/QmRvQrZ5Vb3Hpqg7iQBrawmbdnyi6cpgQUVXMu1DHq8yAk/). Here's a screenshot : diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..e5c6e26 --- /dev/null +++ b/css/style.css @@ -0,0 +1,16 @@ +body, +html { + font-family: Verdana, sans-serif; + color: #121212; + background-color: #FAFAFA; +} + +h1, +h3 { + font-weight: normal; +} + +#results { + font-family: "SourceCodePro", monospace; + white-space: pre; +} \ No newline at end of file diff --git a/images/favicon.png b/images/favicon.png new file mode 100644 index 0000000..63c6f5e Binary files /dev/null and b/images/favicon.png differ diff --git a/index.html b/index.html index a81cae9..c72834e 100644 --- a/index.html +++ b/index.html @@ -4,26 +4,11 @@ Public IPFS Gateways - - - + diff --git a/app.js b/javascript/app.js similarity index 98% rename from app.js rename to javascript/app.js index c81f1e1..6cb45ff 100644 --- a/app.js +++ b/javascript/app.js @@ -56,7 +56,7 @@ function start() { hashToTest = document.querySelector("#input").value; - fetch('./gateways.json') + fetch('./json/gateways.json') .then(res => res.json()) .then(gateways => checkGateways(gateways)); } diff --git a/gateways.json b/json/gateways.json similarity index 100% rename from gateways.json rename to json/gateways.json diff --git a/lastpubver b/lastpubver index 3cdf914..15e6e49 100644 --- a/lastpubver +++ b/lastpubver @@ -1 +1 @@ -QmVR48RQfFPNBLJKNzUGNdTjkSPGvnzPKYTxmTBbT3Lpmu +QmRvQrZ5Vb3Hpqg7iQBrawmbdnyi6cpgQUVXMu1DHq8yAk diff --git a/publish-to-ipfs.bat b/publish-to-ipfs.bat index b0d534f..fd86801 100644 --- a/publish-to-ipfs.bat +++ b/publish-to-ipfs.bat @@ -1,2 +1,2 @@ @echo off -ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html app.js gateways.json > lastpubver +ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html css images javascript json > lastpubver diff --git a/publish-to-ipfs.sh b/publish-to-ipfs.sh index 52d8c70..13d26cb 100755 --- a/publish-to-ipfs.sh +++ b/publish-to-ipfs.sh @@ -1,2 +1,2 @@ #!/bin/sh -ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html app.js gateways.json > lastpubver +ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html css images javascript json > lastpubver