forked from Kieran/void.cat
chore: remove donate options
This commit is contained in:
parent
6da3757053
commit
377bfc3d36
@ -1,6 +1,5 @@
|
|||||||
import "./Donate.css"
|
import "./Donate.css"
|
||||||
import QRCode from "qrcode.react";
|
import {useState} from "react";
|
||||||
import {Fragment, useState} from "react";
|
|
||||||
|
|
||||||
export function Donate() {
|
export function Donate() {
|
||||||
const Hostname = "pay.v0l.io";
|
const Hostname = "pay.v0l.io";
|
||||||
@ -9,16 +8,6 @@ export function Donate() {
|
|||||||
const [currency, setCurrency] = useState("USD");
|
const [currency, setCurrency] = useState("USD");
|
||||||
const [price, setPrice] = useState(1);
|
const [price, setPrice] = useState(1);
|
||||||
|
|
||||||
const Links = [
|
|
||||||
{
|
|
||||||
name: "Revolut",
|
|
||||||
url: "https://revolut.me/kieranh"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Strike",
|
|
||||||
url: "https://strike.me/kieran"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
return (
|
return (
|
||||||
<div className="page donate">
|
<div className="page donate">
|
||||||
<h2>Donate with Bitcoin</h2>
|
<h2>Donate with Bitcoin</h2>
|
||||||
@ -40,16 +29,6 @@ export function Donate() {
|
|||||||
src={`https://${Hostname}/img/paybutton/pay.svg`}
|
src={`https://${Hostname}/img/paybutton/pay.svg`}
|
||||||
alt="Pay with BTCPay Server, a Self-Hosted Bitcoin Payment Processor"/>
|
alt="Pay with BTCPay Server, a Self-Hosted Bitcoin Payment Processor"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{Links.map(e => <Fragment key={e.name}>
|
|
||||||
<h2>Donate with {e.name}</h2>
|
|
||||||
<p>
|
|
||||||
<a target="_blank" href={e.url}>{e.name}</a>
|
|
||||||
</p>
|
|
||||||
<QRCode value={e.url}
|
|
||||||
includeMargin={true}
|
|
||||||
size={256}/>
|
|
||||||
</Fragment>)}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user