Skip to content

Commit 8f7d710

Browse files
authored
Merge pull request #656 from SableRaf/add-every-org-button
Add every.org donation link to the donate page
2 parents b0fc40d + 218ff23 commit 8f7d710

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

i18n/react-intl/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@
152152
"dxf": "DXF Export",
153153
"openEditor": "Open Editor",
154154
"closeEditor": "Close Editor",
155-
"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.",
155+
"donateIntro": "We need your help! Please support Processing by making a donation to the Processing Foundation using the form below. 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": "To donate using crypto, DAF, or stocks, visit 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> instead.",
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"

src/styles/pages/donate.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
.left {
55
flex-basis: var(--col4);
66
}
7+
8+
.left a {
9+
text-decoration: underline;
10+
}
711
.right {
812
flex-basis: var(--col2);
913
position: relative;

0 commit comments

Comments
 (0)