update donate page

This commit is contained in:
reese ovine 2024-02-01 10:49:43 -06:00
parent cde8fae39d
commit 409f96bd4b
3 changed files with 60 additions and 81 deletions

54
site/donate.md Normal file
View file

@ -0,0 +1,54 @@
# DONATE
* You can support furthering of Cyberia's principles by sending a donation our way.
* We reserve the right to reject and return donations
* If you want to be publicly acknowledged for your donation please let us know!
Email: treasurer@cyberia.club
## LIBERAPAY
<p class="center">cc processor: Stripe</p>
<div class="nopre">
<a class="liberapay-btn" href="https://liberapay.com/CyberiaComputerClub/donate">
<svg viewBox="0 0 80 80" height="16" width="16">
<g transform="translate(-78.37-208.06)" fill="#1a171b">
<path d="m104.28 271.1c-3.571 0-6.373-.466-8.41-1.396-2.037-.93-3.495-2.199-4.375-3.809-.88-1.609-1.308-3.457-1.282-5.544.025-2.086.313-4.311.868-6.675l9.579-40.05 11.69-1.81-10.484 43.44c-.202.905-.314 1.735-.339 2.489-.026.754.113 1.421.415 1.999.302.579.817 1.044 1.546 1.395.729.353 1.747.579 3.055.679l-2.263 9.278"></path><path d="m146.52 246.14c0 3.671-.604 7.03-1.811 10.07-1.207 3.043-2.879 5.669-5.01 7.881-2.138 2.213-4.702 3.935-7.693 5.167-2.992 1.231-6.248 1.848-9.767 1.848-1.71 0-3.42-.151-5.129-.453l-3.394 13.651h-11.162l12.52-52.19c2.01-.603 4.311-1.143 6.901-1.622 2.589-.477 5.393-.716 8.41-.716 2.815 0 5.242.428 7.278 1.282 2.037.855 3.708 2.024 5.02 3.507 1.307 1.484 2.274 3.219 2.904 5.205.627 1.987.942 4.11.942 6.373m-27.378 15.461c.854.202 1.91.302 3.167.302 1.961 0 3.746-.364 5.355-1.094 1.609-.728 2.979-1.747 4.111-3.055 1.131-1.307 2.01-2.877 2.64-4.714.628-1.835.943-3.858.943-6.071 0-2.161-.479-3.998-1.433-5.506-.956-1.508-2.615-2.263-4.978-2.263-1.61 0-3.118.151-4.525.453l-5.28 21.948"></path>
</g>
</svg>
<span>Donate</span>
</a>
</div>
## CRYPTOCURRENCY
<p class="center">Bitcoin, Litecoin, Monero</p>
<form class="btcpay-form nopre" method="POST" action="https://btcpay.cyberia.club/api/v1/invoices">
<input type="hidden" name="storeId" value="Bo4cE7iFU8EssMY4DRXUNtr1fjHXgCPCHA9uaaWWbaNr" />
<input type="hidden" name="checkoutDesc" value="donation" />
<div class="btcpay-custom-container">
<div class="btcpay-custom">
<input id="btcpay-input-price" name="price" type="text" min="0.00000001" max="1000" step="1" value="10" style="width: 2em;" oninput="event.preventDefault();isNaN(event.target.value) || event.target.value <= 0 ? document.querySelector('#btcpay-input-price').value = 10 : event.target.value">
</div>
<select name="currency">
<option value="USD" selected>USD</option>
<option value="GBP">GBP</option>
<option value="EUR">EUR</option>
<option value="BTC">BTC</option>
</select>
<input type="submit" class="submit" name="submit" value="Donate Cryptocurrency">
</div>
</form>
Unfortunately we cannot accept cryptocurrency donations valued at more than $1,000 USD
<a href="https://cyberia.club/docs/btc">Learn more about Bitcoin</a>
<a href="https://cyberia.club/docs/xmr">Learn more about Monero</a>
## CASH or CHECK or BANK WIRE
* Email us: treasurer@cyberia.club

View file

@ -1,80 +0,0 @@
+-------------------------------------------------------+
| |
| DONATE |
| |
| * You can support furthering of Cyberia's principles |
| by sending a donation our way. |
| |
| * We reserve the right to reject and return donations |
| |
| * If you want to be publicly acknowledged for your |
| donation please let us know! |
| Email: treasurer@cyberia.club |
| |
+-------------------------------------------------------+
</pre></pre>
<pre>
Donate via liberapay (cc processor: stripe)
</pre>
<div>
<!--<script src="https://liberapay.com/cybertrez/widgets/button.js"></script>-->
<!-- liberapay is too slow to respond sometimes and a script does not seem needed here, -->
<!-- so i'm inlining this content for better or for worse -->
<a class="liberapay-btn" href="https://liberapay.com/CyberiaComputerClub/donate">
<svg viewBox="0 0 80 80" height="16" width="16">
<g transform="translate(-78.37-208.06)" fill="#1a171b">
<path d="m104.28 271.1c-3.571 0-6.373-.466-8.41-1.396-2.037-.93-3.495-2.199-4.375-3.809-.88-1.609-1.308-3.457-1.282-5.544.025-2.086.313-4.311.868-6.675l9.579-40.05 11.69-1.81-10.484 43.44c-.202.905-.314 1.735-.339 2.489-.026.754.113 1.421.415 1.999.302.579.817 1.044 1.546 1.395.729.353 1.747.579 3.055.679l-2.263 9.278"></path><path d="m146.52 246.14c0 3.671-.604 7.03-1.811 10.07-1.207 3.043-2.879 5.669-5.01 7.881-2.138 2.213-4.702 3.935-7.693 5.167-2.992 1.231-6.248 1.848-9.767 1.848-1.71 0-3.42-.151-5.129-.453l-3.394 13.651h-11.162l12.52-52.19c2.01-.603 4.311-1.143 6.901-1.622 2.589-.477 5.393-.716 8.41-.716 2.815 0 5.242.428 7.278 1.282 2.037.855 3.708 2.024 5.02 3.507 1.307 1.484 2.274 3.219 2.904 5.205.627 1.987.942 4.11.942 6.373m-27.378 15.461c.854.202 1.91.302 3.167.302 1.961 0 3.746-.364 5.355-1.094 1.609-.728 2.979-1.747 4.111-3.055 1.131-1.307 2.01-2.877 2.64-4.714.628-1.835.943-3.858.943-6.071 0-2.161-.479-3.998-1.433-5.506-.956-1.508-2.615-2.263-4.978-2.263-1.61 0-3.118.151-4.525.453l-5.28 21.948">
</path>
</g>
</svg>
<span>Donate</span>
</a>
</div>
<pre>
CRYPTOCURRENCY
</pre>
<pre>
Bitcoin, Litecoin, Monero
</pre>
<form method="POST" action="https://btcpay.cyberia.club/api/v1/invoices" class="btcpay-form">
<input type="hidden" name="storeId" value="Bo4cE7iFU8EssMY4DRXUNtr1fjHXgCPCHA9uaaWWbaNr" />
<input type="hidden" name="checkoutDesc" value="donation" />
<div class="btcpay-custom-container">
<div class="btcpay-custom">
<input id="btcpay-input-price" name="price" type="text" min="0.00000001" max="1000" step="1" value="10" style="width: 2em;" oninput="event.preventDefault();isNaN(event.target.value) || event.target.value <= 0 ? document.querySelector('#btcpay-input-price').value = 10 : event.target.value">
</div>
<select name="currency">
<option value="USD" selected>USD</option>
<option value="GBP">GBP</option>
<option value="EUR">EUR</option>
<option value="BTC">BTC</option>
</select>
<input type="submit" class="submit" name="submit" value="Donate Cryptocurrency">
</div>
</form>
<pre>
Unfortunately we cannot accept cryptocurrency
donations valued at more than $1,000 USD
<a href="https://cyberia.club/docs/btc">Learn more about Bitcoin</a>
<a href="https://cyberia.club/docs/xmr">Learn more about Monero</a>
</pre>
<pre><pre>
+-------------------------------------------------------+
| |
| CASH or CHECK or BANK WIRE |
| |
| * Email us: treasurer@cyberia.club |
| |
+-------------------------------------------------------+

View file

@ -16,6 +16,9 @@ main, footer {
max-width: 512px;
white-space: pre-wrap;
}
.nopre {
white-space: normal !important;
}
main > pre {
display: inline-block;
margin: 1em auto;
@ -97,7 +100,9 @@ td {
}
/* css from https://liberapay.com/cybertrez/widgets/button.js, see donate.txt */
/* Donation widgets */
/* css from https://liberapay.com/cybertrez/widgets/button.js, see donate.md */
html > body .liberapay-btn {
background-color: #f6c915;
border-radius: 4px;