Add GitHub Sponsors link

v3
Candid Dauth 2024-03-10 13:39:14 +01:00
rodzic 9e2d259f07
commit 89cd0b4f20
2 zmienionych plików z 27 dodań i 18 usunięć

5
.github/FUNDING.yml vendored 100644
Wyświetl plik

@ -0,0 +1,5 @@
github: [FacilMap]
ko_fi: facilmap
liberapay: facilmap
patreon: facilmap
custom: ["https://www.paypal.com/donate?hosted_button_id=FWR59UXY6HGGS"]

Wyświetl plik

@ -8,21 +8,25 @@ You are welcome to contribute code, improve the documentation or raise ideas on
Financial contributions are very much appreciated and can be sent through the following channels: Financial contributions are very much appreciated and can be sent through the following channels:
<div style="display: flex; flex-wrap: wrap"> <template v-for="{ width, gap, links } in [{
<a href="https://liberapay.com/facilmap/" target="_blank" style="display: flex; flex-direction: column; align-items: center"> width: 740,
<qrcode value="https://liberapay.com/facilmap/" :size="164" :margin="5" level="M" render-as="svg"></qrcode> gap: 20,
Liberapay links: {
</a> 'GitHub Sponsors': 'https://github.com/sponsors/FacilMap',
<a href="https://www.paypal.com/donate?hosted_button_id=FWR59UXY6HGGS" target="_blank" style="display: flex; flex-direction: column; align-items: center"> 'Liberapay': 'https://liberapay.com/facilmap/',
<ClientOnly><qrcode value="https://www.paypal.com/donate?hosted_button_id=FWR59UXY6HGGS" :size="164" :margin="5" level="M" render-as="svg"></qrcode></ClientOnly> 'PayPal': 'https://www.paypal.com/donate?hosted_button_id=FWR59UXY6HGGS',
PayPal 'Patreon': 'https://www.patreon.com/facilmap',
</a> 'Bitcoin': 'bitcoin:1PEfenaGXC9qNGQSuL5o6f6doZMYXRFiCv'
<a href="https://www.patreon.com/facilmap" target="_blank" style="display: flex; flex-direction: column; align-items: center"> }
<ClientOnly><qrcode value="https://www.patreon.com/facilmap" :size="164" :margin="5" level="M" render-as="svg"></qrcode></ClientOnly> }]">
Patreon <template v-for="size in [(width - gap * (Object.keys(links).length - 1)) / Object.keys(links).length]">
</a> <div style="display: flex; flex-wrap: wrap" :style="{ gap: `${gap}px` }">
<a href="bitcoin:1PEfenaGXC9qNGQSuL5o6f6doZMYXRFiCv" style="display: flex; flex-direction: column; align-items: center"> <template v-for="(url, label) in links">
<ClientOnly><qrcode value="bitcoin:1PEfenaGXC9qNGQSuL5o6f6doZMYXRFiCv" :size="164" :margin="5" level="M" render-as="svg"></qrcode></ClientOnly> <a :href="url" target="_blank" style="display: flex; flex-direction: column; align-items: center">
Bitcoin <qrcode :value="url" :size="size" level="M" render-as="svg" style="margin-bottom: 5px"></qrcode>
</a> {{label}}
</div> </a>
</template>
</div>
</template>
</template>