Skip to content

Commit

Permalink
Enable monthly recurring donations via Stripe (#414)
Browse files Browse the repository at this point in the history
* Set up wording for recurring donations

* Reword

* Add button for recurring donations

* Improve button styling

* Better wording

* Add text; remove links

* Simplify

Don't make me think!

* Improve button appearance on hover

* Copy edits

Co-authored-by: ARVIN <[email protected]>

* Update stripe link to recurring

* Don't hide button border on hover

* Copyedit

Co-authored-by: ARVIN <[email protected]>

---------

Co-authored-by: ARVIN <[email protected]>
  • Loading branch information
dergigi and Arvin21M authored Feb 27, 2025
1 parent eceafa9 commit 6cbf61e
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
14 changes: 14 additions & 0 deletions components/DonateRecurringButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import CustomLink from './Link'

export default function DonateRecurringButton() {
return (
<div className="mb-10 mt-12 flex justify-center">
<CustomLink
href="https://checkout.opensats.org/b/4gwg1bbvW6Li0ww7st"
className="my-15 rounded border border-orange-500 bg-transparent px-8 py-4 text-lg font-semibold no-underline hover:bg-orange-100"
>
Give Monthly 🧡
</CustomLink>
</div>
)
}
2 changes: 2 additions & 0 deletions components/MDXComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import DonateToGeneralFundForm from './DonateToGeneralFundForm'
import DonateToGeneralFundButton from './DonateToGeneralFundButton'
import DonateToNostrFundButton from './DonateToNostrFundButton'
import DonateToOperationsButton from './DonateToOperationsButton'
import DonateRecurringButton from './DonateRecurringButton'
import DesignTeam from './DesignTeam'
import Credits from './Supporters'
import YouTubeEmbed from './YouTubeEmbed'
Expand All @@ -34,6 +35,7 @@ export const MDXComponents: ComponentMap = {
DonateToGeneralFundButton,
DonateToNostrFundButton,
DonateToOperationsButton,
DonateRecurringButton,
DesignTeam,
YouTubeEmbed,
Credits,
Expand Down
27 changes: 25 additions & 2 deletions data/pages/donate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,31 @@ image: /static/images/avatar.png
layout: PageLayout
---

Fill out the form below to donate to our [General Fund][gf]. Most of our grants
as well as our long-term support program are sourced from this fund.
Become a vital part of our mission by setting up a recurring donation! Your
ongoing support ensures we can consistently fund innovative projects and
empower developers, creating a lasting impact for years to come.

<DonateRecurringButton/>

Open Sats Initiative, Inc. (EIN 85-2722249) is a 501(c)(3) non-profit
organization. All donations are tax-deductible to the full extent of
the law.

Thank you for considering a donation to OpenSats. Your continued support is
crucial in helping us fulfill our mission: to support and maintain a
sustainable funding ecosystem for free and open-source projects and
contributors.

We are committed to transparency and accountability, which is why
we invite you to explore our transparency page and impact reports. There, you
can see how your contributions are making a real difference and helping us
empower developers to create a strong and bright future for freedom tech!

---

# Give Once

You can donate fiat or anonymously with bitcoin.

<DonateToGeneralFundForm/>

Expand Down

0 comments on commit 6cbf61e

Please sign in to comment.