Skip to content

Commit 0703a6a

Browse files
committed
Add crypto donation info to donate page (untested)
1 parent b0fc40d commit 0703a6a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

i18n/react-intl/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
"donateIntro": "We need your help! Please support Processing by making a donation to the Processing Foundation. Your donation contributes to software development, education resources like code examples and tutorials, Fellowships, and community events. To be clear, you don't need to donate to use our software. We've always been free, libre, open-source software.",
156156
"donateOutro": "The Processing Foundation was established in 2012 after more than a decade of work with the Processing software. The Foundation’s mission is to promote software literacy within the visual arts, and visual literacy within technology-related fields — and to make these fields accessible to diverse communities. Our goal is to empower people of all interests and backgrounds to learn how to program and make creative work with code, especially those who might not otherwise have access to these tools and resources. You can read more about the history of Processing in the short essay <a href='https://medium.com/processing-foundation/a-modern-prometheus-59aed94abe85'>'A Modern Prometheus'</a>.",
157157
"donatePaymentTitle": "Donate to Processing",
158+
"donateCryptoInfo": "Use the form below for standard donations. If you want to give through crypto, a donor-advised fund, or stocks, you can do that on our <strong><a href='https://www.every.org/processing-foundation?method=crypto,stocks,daf&success_url=https%3A%2F%2Fprocessing.org%2Fdonate&exit_url=https%3A%2F%2Fprocessing.org%2Fdonate&partner_metadata=eyJzb3VyY2UiOiAicHJvY2Vzc2luZy5vcmcifQ==#donate'>Every.org donation page</a></strong>.",
158159
"donateButton": "Donate",
159160
"donateHelp": "Help us continue with your generosity!",
160161
"moreExamples": "More Examples",

src/pages/donate.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ const Donate = () => {
2222
<div className={classnames(grid.col, css.left)}>
2323
<h1>{intl.formatMessage({ id: 'donate' })}</h1>
2424
<h3>{intl.formatMessage({ id: 'donateIntro' })}</h3>
25+
<h3
26+
dangerouslySetInnerHTML={{
27+
__html: intl.formatMessage({ id: 'donateCryptoInfo' })
28+
}}></h3>
2529
<div>
2630
<script
2731
src="https://donorbox.org/widget.js"

0 commit comments

Comments
 (0)