Skip to content

Commit

Permalink
Update donation links
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Tsisyk <[email protected]>
  • Loading branch information
rtsisyk committed Mar 17, 2024
1 parent cae1a39 commit 2e1baf1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 0 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ paths = "safe"

[extra]
stripe = "https://donate.organicmaps.app/"
stripe_usd = "https://donate-usd.organicmaps.app/"

# Default English translation
[translations]
Expand Down
10 changes: 7 additions & 3 deletions content/donate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extra:
preview_image: donate/donate.png
---

Organic Maps app is _free for everyone_ thanks to your **[donations in EUR][stripe]** or **[in USD][stripe_usd]**:
Organic Maps app is _free for everyone_ thanks to your **[donations][stripe]** in **[EUR][stripe_eur], [USD][stripe_usd], [GBP][stripe_GBP], [CHF][stripe_chf], [UAH][stripe_uah]**:

- No ads
- No trackers
Expand Down Expand Up @@ -72,6 +72,10 @@ Please consider donating annually to reduce total fees.
Yes! There are many ways to support Organic Maps. Please see
[Support Us](@/support-us/index.md) page for more details.

[stripe]: https://donate.organicmaps.app/ "Donate via Stripe in EUR"
[stripe_usd]: https://donate-usd.organicmaps.app/ "Donate via Stripe in USD"
[stripe]: https://donate.organicmaps.app/ "Donate"
[stripe_eur]: https://donate.organicmaps.app/?currency=eur "Donate in EUR"
[stripe_usd]: https://donate.organicmaps.app/?currency=usd "Donate in USD"
[stripe_chf]: https://donate.organicmaps.app/?currency=chf "Donate in CHF"
[stripe_gbp]: https://donate.organicmaps.app/?currency=gbp "Donate in GBP"
[stripe_uah]: https://donate.organicmaps.app/?currency=uah "Donate in UAH"
[github issues]: https://github.com/organicmaps/organicmaps/issues "GitHub Issues"
5 changes: 2 additions & 3 deletions templates/shortcodes/donate_buttons.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<div class="donate_buttons">
{%- if lang == 'ru' %}
<a href="https://donate.organicmaps.ru" title="По карте МИР в рублях"><img id="mir" src="/images/donates/mir.svg" alt="По карте МИР в рублях"></a>
<a href="https://donate.organicmaps.app?currency=rub" title="По карте МИР в рублях"><img id="mir" src="/images/donates/mir.svg" alt="По карте МИР в рублях"></a>
<a href="https://t.me/OrganicMapsRu/29441" title="Telegram по карте МИР в рублях"><img id="telegramRu" src="/images/donates/telegram.svg" alt="Telegram по карте МИР в рублях"></a>
{% endif -%}
<a href="{{ config.extra.stripe | safe }}" title="Credit/Debit Card (Euro €)"><span class="donate_currency"></span><img src="/images/donates/visa_mc.svg" alt="Credit/Debit Card (Euro €)"></a>
<a href="{{ config.extra.stripe_usd | safe }}" title="Credit/Debit Card (USD $)"><span class="donate_currency">$</span><img src="/images/donates/visa_mc.svg" alt="Credit/Debit Card (USD $)"></a>
<a href="{{ config.extra.stripe | safe }}" title="Credit/Debit Card"><img src="/images/donates/visa_mc.svg" alt="Credit/Debit Card"></a>
<a href="{{ config.extra.stripe | safe }}" title="Apple Pay" id="applePay"><img src="/images/donates/apple.svg" alt="Apple Pay"></a>
<a href="{{ config.extra.stripe | safe }}" title="Google Pay" id="googlePay"><img src="/images/donates/google.svg" alt="Google Pay"></a>
<form action="https://www.paypal.com/donate" method="post" target="_blank" title="PayPal">
Expand Down

0 comments on commit 2e1baf1

Please sign in to comment.