Removing PayPal donation

- Replacing with GitHub Sponsors
- Fixes #911
This commit is contained in:
James Barnsley
2023-08-07 20:53:16 +12:00
parent 39accaf362
commit 45cd06b2e1
2 changed files with 11 additions and 11 deletions

View File

@ -431,7 +431,7 @@ settings:
title: About
blurb_1: ' is an open-source project by '
blurb_2: '. It is provided free and with absolutely no warranty. If you paid someone for this software, please let me know.'
donate: Donate
sponsor: Become a sponsor
github: GitHub
pusher_connection_list:
not_connected: Not connected

View File

@ -541,16 +541,6 @@ class Settings extends React.Component {
<br />
<br />
<div>
<Button
href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=james%40barnsley%2enz&lc=NZ&item_name=James%20Barnsley&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"
target="_blank"
tracking={{ category: 'About', action: 'Paypal' }}
>
<I18n path="settings.about.donate">
<Icon type="fontawesome" name="paypal" />
{' '}
</I18n>
</Button>
<Button
href="https://github.com/jaedb/Iris"
target="_blank"
@ -561,6 +551,16 @@ class Settings extends React.Component {
{' '}
</I18n>
</Button>
<Button
href="https://github.com/sponsors/jaedb"
target="_blank"
tracking={{ category: 'About', action: 'Sponsor' }}
>
<I18n path="settings.about.sponsor">
<Icon type="fontawesome" name="heart" />
{' '}
</I18n>
</Button>
</div>
</section>