import React, {useState} from "react"; import {PageContainer, useTitle} from "./Common"; import {Button, Header, IconButton, Modal, Panel, Table} from "./ui"; import QRCode from "react-qr-code"; const bitcoinAddress = '1mi1ddLSd6LmkuwJd1ttZsKuED724vYjS'; const bitcoinContent = `bitcoin:${bitcoinAddress}`; const ethereumAddress = '0xC27C39b31A3a9D12C345A58aFe8a42a2e1eb0448'; const ethereumContent = `ethereum:${ethereumAddress}`; const litecoinAddress = `LKngzDZUZcggxk2fTAZYmBcksLBMrnhioA`; const litecoinContent = `litecoin:${litecoinAddress}`; const moneroAddress = '87jv2NpGb5sbUwk7zYYwEY5RAoh1jRfTo4d1BAewVdJJFKg2bDF2UXtLfTc8LZkkSagDsnJyevLpZaZ846QHcLDjUenBrcY'; const moneroContent = `monero:${moneroAddress};` function CoinQRButton({qrCodeValue, header, buttonColor}) { const [open, setOpen] = useState(false); return <> setOpen(true)}/> setOpen(false)} onOpen={() => setOpen(true)} > {header} {/* `media`: the white field a scanner needs is filtered as a unit by night mode, rather than sitting on screen as a lit panel. */}
} function CoinRow({header, qrCodeValue, address, buttonColor}) { return <>
{header}
{address}
} export function DonatePage() { useTitle('Donate'); return
Donate
We appreciate any support you can provide to WROLPi!

; }