grim/www.imfreedom.org
Overhaul the donation page and include donation information for individual developers
Testing Done:
Ran locally, see attached screenshot
Reviewed at https://reviews.imfreedom.org/r/727/
--- a/hugo/content/donate.md Mon May 17 20:25:32 2021 -0500
+++ b/hugo/content/donate.md Tue Jun 15 13:14:56 2021 -0500
@@ -12,19 +12,85 @@
In the interests of full disclosure we think it's worth mentioning a few points:
-- We currently have around $20,000 USD in the bank, mostly from summer of
- code mentor payments from Google Summer of Code (thanks, Google!).
-- We currently don't have a strong need for money. All work is done by
- volunteers. We have no paid staff and think this is likely to remain true.
- Pidgin and Adium are both generously provided with free hosting from
- [Network Redux](https://www.networkredux.com/),
- [Steadfast](https://www.steadfast.net/), and
- [SourceForge](https://sourceforge.net/).
-- While we are a USA registered 501(c)(3) non-profit organization, we have
- historically not accepted donations and we have never given anyone a receipt
- for a donation. It's possible that we're required by law to provide receipts
- for donations above certain amounts. If you're familiar with this process
- and would like to offer advice, or if you would like a receipt, then please
- email our [discussion mailing list](/cgi-bin/mailman/listinfo/discussion).
+* We are a USA registered 501(c)(3) non-profit organization, we have + historically not accepted donations and we have never given anyone a receipt + for a donation. It's possible that we're required by law to provide receipts + for donations above certain amounts. If you're familiar with this process + and would like to offer advice, or if you would like a receipt, then please + [discussion mailing list](http://lists.imfreedom.org/listinfo/discussion). +* We currently have some money in the bank, but it is not enough to fund + developers. You can learn more about our current funding via the + [minutes](minutes) of our board meetings. +* While the corporation itself does not currently have a strong need for money + some of the developers are accepting donations. See + [Individual Developer Donations]({{< relref "#individual-developer-donations" >}}) +* The officers and directors of Instant Messaging Freedom are unpaid volunteers, + just like all of the developers of the Adium, Finch, libpurple, and Pidgin + projects. We have no paid staff and this will likely remain true unless + drastic changes in our funding happen in the future. +* Pidgin and IMFreedom are both generously provided with free hosting from + [Digital Ocean](https://www.digitalocean.com/?refcode=b69e5dddf595&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge). +If you would like to donate we have a number of options you may choose from. +You can purchase Pidgin merchandise directly from our +[spreadshirt store](https://shop.spreadshirt.com/imfreedom) where a portion from +every purchase will be received by Instant Messaging Freedom. +If you use [Amazon](https://amazon.com), Amazon will donate 0.05% of elligible +purchases to a charity of your choosing when you use +[Amazon Smile](https://smile.amazon.com). You can set your charity to Instant +Messaging Freedom using the link below.
+Finally, if you would like to donate directly, you can do so via the PayPal link +## Individual Developer Donations +Directly donating to developers is encouraged as it gets the donations to them +faster. However, if you would like to donate a large amount to a developer and +run it through Instant Messaging Freedom for tax reasons, please reach out to us +[discussion mailing list](http://lists.imfreedom.org/listinfo/discussion). If +you would rather discuss privately you can reach out to +[treasurer@imfreedom.org](mailto:treasurer@imfreedom.org?subject=Developer%20Donation) +to discuss the situation. +Gary is the current lead developer and maintainer of both Pidgin and libpurple. +He is also the responsible for both the Pidgin and IMFreedom infrastructure. +He streams a lot of his work live on his Twitch.tv channel +[twitch.tv/rw_grim](https://twitch.tv/rw_grim). +* [Patreon](https://patreon.com/rw_grim) Additional perks for donating. +* [PayPal Donations](https://streamlabs.com/rw_grim/tip) These donations will + appear live on stream if Gary is streaming. +* [1up Coin](https://1upcoin.com/donate/rw_grim) Cryptocurrency donations that + will appear live on stream if Gary is streaming. +Eion Robb is the protocol wizard. If you've used a modern protocol from a +libpurple based client he has most likely helped in no small way even when he +isn't the primary author. On top of that he's usually the first to respond to +people looking for support across all of our support channels! +* [PayPal Donations](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PZMBF2QVF69GA) --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hugo/layouts/shortcodes/amazon-smile.html Tue Jun 15 13:14:56 2021 -0500
@@ -0,0 +1,8 @@
+<!-- the default banner code from amazon smile uses the element's width and + height properties which get overridden by our default css. So to work + around this, we need to change `iframe.width = 310` to + `iframe.style.width = "310px"` and `iframe.height = 256` to + `iframe.style.height = "256px"`. Obviously these values may change in the + future, but they're referenced here to make them easier to find. +<div id="amznCharityBanner"><script type="text/javascript">(function() {var iFrame = document.createElement('iframe'); iFrame.style.display = 'none'; iFrame.style.border = "none"; iFrame.style.width = "310px"; iFrame.style.height = "256px"; iFrame.setAttribute && iFrame.setAttribute('scrolling', 'no'); iFrame.setAttribute('frameborder', '0'); setTimeout(function() {var contents = (iFrame.contentWindow) ? iFrame.contentWindow : (iFrame.contentDocument.document) ? iFrame.contentDocument.document : iFrame.contentDocument; contents.document.open(); contents.document.write(decodeURIComponent("%3Cdiv%20id%3D%22amznCharityBannerInner%22%3E%3Ca%20href%3D%22https%3A%2F%2Fsmile.amazon.com%2Fch%2F59-3837808%22%20target%3D%22_blank%22%3E%3Cdiv%20class%3D%22text%22%20height%3D%22%22%3E%3Cdiv%20class%3D%22support-wrapper%22%3E%3Cdiv%20class%3D%22support%22%20style%3D%22font-size%3A%2025px%3B%20line-height%3A%2028px%3B%20margin-top%3A%201px%3B%20margin-bottom%3A%201px%3B%22%3ESupport%20%3Cspan%20id%3D%22charity-name%22%20style%3D%22display%3A%20inline-block%3B%22%3EInstant%20Messaging%20Freedom%20Inc.%3C%2Fspan%3E%3C%2Fdiv%3E%3C%2Fdiv%3E%3Cp%20class%3D%22when-shop%22%3EWhen%20you%20shop%20at%20%3Cb%3Esmile.amazon.com%2C%3C%2Fb%3E%3C%2Fp%3E%3Cp%20class%3D%22donates%22%3EAmazon%20donates.%3C%2Fp%3E%3C%2Fdiv%3E%3C%2Fa%3E%3C%2Fdiv%3E%3Cstyle%3E%23amznCharityBannerInner%7Bbackground-image%3Aurl(https%3A%2F%2Fimages-na.ssl-images-amazon.com%2Fimages%2FG%2F01%2Fx-locale%2Fpaladin%2Fcharitycentral%2Fbanner-background-image._CB485922134_.png)%3Bwidth%3A300px%3Bheight%3A250px%3Bposition%3Arelative%7D%23amznCharityBannerInner%20a%7Bdisplay%3Ablock%3Bwidth%3A100%25%3Bheight%3A100%25%3Bposition%3Arelative%3Bcolor%3A%23000%3Btext-decoration%3Anone%7D.text%7Bposition%3Aabsolute%3Btop%3A20px%3Bleft%3A15px%3Bright%3A15px%3Bbottom%3A100px%7D.support-wrapper%7Boverflow%3Ahidden%3Bmax-height%3A86px%7D.support%7Bfont-family%3AArial%2Csans%3Bfont-weight%3A700%3Bline-height%3A28px%3Bfont-size%3A25px%3Bcolor%3A%23333%3Btext-align%3Acenter%3Bmargin%3A0%3Bpadding%3A0%3Bbackground%3A0%200%7D.when-shop%7Bfont-family%3AArial%2Csans%3Bfont-size%3A15px%3Bfont-weight%3A400%3Bline-height%3A25px%3Bcolor%3A%23333%3Btext-align%3Acenter%3Bmargin%3A0%3Bpadding%3A0%3Bbackground%3A0%200%7D.donates%7Bfont-family%3AArial%2Csans%3Bfont-size%3A15px%3Bfont-weight%3A400%3Bline-height%3A21px%3Bcolor%3A%23333%3Btext-align%3Acenter%3Bmargin%3A0%3Bpadding%3A0%3Bbackground%3A0%200%7D%3C%2Fstyle%3E")); contents.document.close(); iFrame.style.display = 'block';}); document.getElementById('amznCharityBanner').appendChild(iFrame); })(); </script></div> --- a/hugo/layouts/shortcodes/donate.html Mon May 17 20:25:32 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
- <input type="hidden" name="cmd" value="_s-xclick">
- <input type="hidden" name="hosted_button_id" value="ZDJ3L88KQQ5LS">
- <input type="image" src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/PP_logo_h_150x38.png" border="0"
- name="submit" alt="PayPal - The safer, easier way to pay online!">
- <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hugo/layouts/shortcodes/paypal.html Tue Jun 15 13:14:56 2021 -0500
@@ -0,0 +1,7 @@
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> + <input type="hidden" name="cmd" value="_s-xclick"> + <input type="hidden" name="hosted_button_id" value="ZDJ3L88KQQ5LS"> + <input type="image" src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/PP_logo_h_150x38.png" border="0" + name="submit" alt="PayPal - The safer, easier way to pay online!"> + <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> \ No newline at end of file