This commit is contained in:
Kieran 2022-09-19 14:02:43 +01:00
parent 0e8fbd5aed
commit 8d254a9b9a
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -1,12 +1,15 @@
import {useState} from "react";
import QRCode from "qrcode.react";
import {useState} from "react";
export function Donate() {
const Hostname = "pay.v0l.io";
const StoreId = "GdRya8MAvZYhyviA4ypFgijBknNoDEkg12ro8efLcZp5";
const RevTag = "kieranh";
const [currency, setCurrency] = useState("USD");
const [price, setPrice] = useState(1);
let revLink = `https://revolut.me/${RevTag}`;
return (
<div className="page">
<h2>Donate with Bitcoin</h2>
@ -28,6 +31,13 @@ export function Donate() {
src={`https://${Hostname}/img/paybutton/pay.svg`}
alt="Pay with BTCPay Server, a Self-Hosted Bitcoin Payment Processor"/>
</form>
<h2>Donate with Revolut</h2>
<p>
<a target="_blank" href={revLink}>Revolut</a>
</p>
<QRCode value={revLink}
includeMargin={true}
size={256}/>
</div>
);
}