use bitcoin: URI in QR code

This commit is contained in:
Daniel Micay 2020-11-01 14:54:58 -05:00
parent 02c4b9d42f
commit 571f8d40a0
4 changed files with 6 additions and 2 deletions

View File

@ -57,7 +57,11 @@ server {
} }
location = /bitcoin_address.png { location = /bitcoin_address.png {
return 301 /bitcoin-address.png; return 301 /bitcoin-donation.png;
}
location = /bitcoin-address.png {
return 301 /bitcoin-donation.png;
} }
# mangled backlinks to /install # mangled backlinks to /install

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 B

BIN
static/bitcoin-donation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

View File

@ -52,7 +52,7 @@
<div id="bitcoin_address"> <div id="bitcoin_address">
<a href="bitcoin:bc1qy6fhm8p00p3h3w5rrcp2h2wejeeqn7x6y7xs2p?label=GrapheneOS&amp;message=Donation%20to%20GrapheneOS"> <a href="bitcoin:bc1qy6fhm8p00p3h3w5rrcp2h2wejeeqn7x6y7xs2p?label=GrapheneOS&amp;message=Donation%20to%20GrapheneOS">
<img src="/bitcoin-address.png?0" alt="Bitcoin address QR code" width="185" height="185"/> <img src="/bitcoin-donation.png" alt="Bitcoin address QR code" width="180" height="180"/>
<p>bc1qy6fhm8p00p3h3w5rrcp2h2wejeeqn7x6y7xs2p</p> <p>bc1qy6fhm8p00p3h3w5rrcp2h2wejeeqn7x6y7xs2p</p>
</a> </a>
</div> </div>