Replace PayPal button

This commit is contained in:
sienori 2021-04-06 16:14:22 +09:00
parent 0645ed5180
commit b31839154c
5 changed files with 12 additions and 16 deletions

View file

@ -12,7 +12,7 @@
Thank you to the awesome **[backers](https://github.com/sienori/simple-translate/blob/master/BACKERS.md)** who supported Simple Translate! Thank you to the awesome **[backers](https://github.com/sienori/simple-translate/blob/master/BACKERS.md)** who supported Simple Translate!
[<img src="other/promotion/badges/patreon.png" alt="Became a Patreon">](https://www.patreon.com/sienori) [<img src="other/promotion/badges/patreon.png" alt="Became a Patreon" height="44px" align="left">](https://www.patreon.com/sienori)
[<img src="other/promotion/badges/paypal.png" alt="Check out with PayPal">](https://www.paypal.me/sienoriExt) [<img src="other/promotion/badges/paypal.png" alt="Check out with PayPal">](https://www.paypal.me/sienoriExt)
## Sponsors ## Sponsors

View file

@ -16,7 +16,7 @@ Quickly translate selected text on web page. In toolbar popup, you can translate
Thank you to the awesome **[backers](https://github.com/sienori/simple-translate/blob/master/BACKERS.md)** who supported Simple Translate! Thank you to the awesome **[backers](https://github.com/sienori/simple-translate/blob/master/BACKERS.md)** who supported Simple Translate!
[<img src="https://raw.githubusercontent.com/sienori/simple-translate/master/other/promotion/badges/patreon.png" alt="Became a Patreon">](https://www.patreon.com/sienori) [<img src="https://raw.githubusercontent.com/sienori/simple-translate/master/other/promotion/badges/patreon.png" alt="Became a Patreon" height="44px">](https://www.patreon.com/sienori)
[<img src="https://raw.githubusercontent.com/sienori/simple-translate/master/other/promotion/badges/paypal.png" alt="Check out with PayPal">](https://www.paypal.me/sienoriExt) [<img src="https://raw.githubusercontent.com/sienori/simple-translate/master/other/promotion/badges/paypal.png" alt="Check out with PayPal">](https://www.paypal.me/sienoriExt)
## Sponsors ## Sponsors

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -62,22 +62,18 @@ export default props => {
<OptionsContainer title={"donationLabel"} captions={["donationCaptionLabel"]} type={"none"} /> <OptionsContainer title={"donationLabel"} captions={["donationCaptionLabel"]} type={"none"} />
<OptionsContainer <OptionsContainer
title={""} title={""}
captions={[]} captions={[""]}
type={"none"} type={"none"}
extraCaption={ extraCaption={
<div>
<a href={patreonLink} target="_blank"> <a href={patreonLink} target="_blank">
<img src="/icons/patreonButton.png" alt="Donate" /> <img src="/icons/patreonButton.png" alt="Patreon"
style={{ height: 44, marginRight: 20 }} />
</a> </a>
}
/>
<OptionsContainer
title={""}
captions={[]}
type={"none"}
extraCaption={
<a href={paypalLink} target="_blank"> <a href={paypalLink} target="_blank">
<img src="/icons/paypalButton.png" alt="Donate" /> <img src="/icons/paypalButton.png" alt="Paypal" />
</a> </a>
</div>
} }
/> />
<OptionsContainer <OptionsContainer