Add github sponsors to support page

This commit is contained in:
Kovid Goyal 2021-09-03 09:13:32 +05:30
parent fb0b94eaa1
commit 78e4f1cde4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 18 additions and 14 deletions

View File

@ -1,7 +1,11 @@
<style> <style>
#support-buttons {
display: flex;
flex-wrap: wrap;
}
.support-button { .support-button {
border-radius: 6px; border-radius: 6px;
box-shadow: rgb(255, 246, 175) 0px 1px 0px 0px;
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
color: rgb(51, 51, 51); color: rgb(51, 51, 51);
@ -10,6 +14,7 @@
font-weight: bold; font-weight: bold;
padding: 8px 24px; padding: 8px 24px;
text-decoration: none; text-decoration: none;
margin: 1em;
} }
.support-button:hover { .support-button:hover {
@ -34,24 +39,28 @@
border: 1px solid rgb(255, 171, 35); border: 1px solid rgb(255, 171, 35);
} }
#liberapay a { a.support-button {
background: linear-gradient(rgb(92, 184, 92) 5%, rgb(62, 142, 62) 100%) rgb(92, 184, 92); background: linear-gradient(rgb(92, 184, 92) 5%, rgb(62, 142, 62) 100%) rgb(92, 184, 92);
border: 1px solid rgb(62, 142, 62);
color: rgb(51, 51, 51); color: rgb(51, 51, 51);
} }
#patreon a {
background: linear-gradient(rgb(11, 100, 163) 5%, rgb(5, 45, 73) 100%) rgb(11, 100, 163);
border: 1px solid rgb(5, 45, 73);
color: #eee;
}
</style> </style>
<div id="support-buttons"> <div id="support-buttons">
<div id="github">
<a class="support-button" href="https://github.com/sponsors/kovidgoyal">Patronage via GitHub</a>
</div>
<div id="patreon"> <div id="patreon">
<a class="support-button" href="https://www.patreon.com/bePatron?u=917933">Patronage via Patreon</a> <a class="support-button" href="https://www.patreon.com/bePatron?u=917933">Patronage via Patreon</a>
</div> </div>
<div id="liberapay">
<a class="support-button" href="https://liberapay.com/kovidgoyal/donate">Patronage via Liberapay</a>
</div>
<div> <div>
<form id="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" title="Contribute to support calibre development"> <form id="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" title="Contribute to support calibre development">
<input type="hidden" name="cmd" value="_s-xclick" /> <input type="hidden" name="cmd" value="_s-xclick" />
@ -61,9 +70,5 @@
</form> </form>
</div> </div>
<div id="liberapay">
<a class="support-button" href="https://liberapay.com/kovidgoyal/donate">Patronage via Liberapay</a>
</div>
</div> </div>

View File

@ -15,8 +15,7 @@ I have personally written `almost all kitty code
<https://github.com/kovidgoyal/kitty/graphs/contributors>`_. <https://github.com/kovidgoyal/kitty/graphs/contributors>`_.
You can choose to make either a one-time payment via PayPal or become a You can choose to make either a one-time payment via PayPal or become a
*patron* of kitty development via the Patreon or Liberapay services *patron* of kitty development via one of the services below:
below:
.. raw:: html .. raw:: html