forked from Kieran/void.cat
Revolut
This commit is contained in:
parent
0e8fbd5aed
commit
8d254a9b9a
@ -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>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user