Skip to content

Commit

Permalink
remove cryptocurrency donate links because coinbase is unreliable
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Mar 11, 2024
1 parent 0464d35 commit 40b0a1a
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions src/main/kotlin/org/freenet/website/pages/donate/donatePage.kt
Expand Up @@ -27,55 +27,6 @@ fun Component.donatePage() {
img["alt"] = "Donate with PayPal"
}
}

h2().classes("title", "is-small").text("Donate via Cryptocurrency")
p().innerHTML(
"""
Freenet is <b>not</b> a cryptocurrency, but we do accept cryptocurrency donations. For large donations (over $5,000) please contact us before sending. For smaller donations, please use the following wallets:
""".trimIndent()
)

table {
thead {
tr {
th().text("Cryptocurrency")
th().text("Address")
}
}
tbody {
tr {
td().text("Bitcoin")
td {
input { input ->
input.setAttributes("readonly" to true.json)
input.setAttributes("value" to "3M3fbA7RDYdvYeaoR69cDCtVJqEodo9vth".json)
input.setAttributes("onclick" to "this.select();".json)
}
}
}
tr {
td().text("Zcash")
td {
input { input ->
input.setAttributes("readonly" to true.json)
input.setAttributes("value" to "t1VHw1PHgzvMqEEd31ZBt3Vyy2UrG4J8utB".json)
input.setAttributes("onclick" to "this.select();".json)
}
}
}
tr {
td().text("Ethereum")
td {
input { input ->
input.setAttributes("readonly" to true.json)
input.setAttributes("value" to "0x79158A5Dbd9C0737CB27411817BD2759f5b9a9Ae".json)
input.setAttributes("onclick" to "this.select();".json)
}
}
}

}
}
}

private fun Component.renderPage(html: KVar<String?>) {
Expand Down

0 comments on commit 40b0a1a

Please sign in to comment.