mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-22 03:29:23 +00:00
Add WOW donations
This commit is contained in:
parent
a71ada7079
commit
72e5dfd607
5 changed files with 16 additions and 5 deletions
|
@ -213,3 +213,10 @@ Please consider donating to support the development of this project.
|
|||
<img src="donate_btc.png" width="115" height="115" alt="btcQrCode"/><br>
|
||||
<code>bc1qndc2lesy0sse9vj33a35pnfrqz4znlhhs58vfp</code>
|
||||
</p>
|
||||
|
||||
### Wownero
|
||||
|
||||
<p align="center">
|
||||
<img src="donate_wow.png" width="115" height="115" alt="wowQrCode"/><br>
|
||||
<code>WW33Zj3xu6EGTyKVWaz8EQZmqsTXKdK5eG7PDRaiPuJ1LyREhGHLCRDX3AaLx4r9NFCThRvsbq99KATbswJaxd3T1iwQLJ3Tw</code>
|
||||
</p>
|
BIN
donate_wow.png
Normal file
BIN
donate_wow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -95,6 +95,11 @@
|
|||
<br>
|
||||
<code>{{BTCAddress}}</code>
|
||||
</p>
|
||||
<p *ngIf="donateCrypto === 'WOW'" class="text-center">
|
||||
<img src="assets/donations/wow.png" width="200" height="200"/><br>
|
||||
<br>
|
||||
<code>{{WOWAddress}}</code>
|
||||
</p>
|
||||
<button *ngIf="!addressCopied" type="button" class="btn btn-secondary btn-sm" (click)="copyAddressToClipboard()"><i class="bi bi-clipboard"></i> Copy to clipboard</button>
|
||||
<button *ngIf="addressCopied" type="button" class="btn btn-success btn-sm" ><i class="bi bi-clipboard-check"></i> Copied to clipboard</button>
|
||||
</li>
|
||||
|
|
|
@ -14,21 +14,20 @@ export class AboutComponent {
|
|||
new NavbarLink('pills-donate-tab', '#pills-donate', 'pills-donate', false, 'Donate', false)
|
||||
];
|
||||
|
||||
public donateCrypto: 'XMR' | 'BTC' = 'XMR';
|
||||
public donateCrypto: 'XMR' | 'BTC' | 'WOW' = 'XMR';
|
||||
public readonly XMRAddress: string = '84Q1SdQgFWaEWRn5KcvSPCQUa3NF39EJ3HPCTaiM86RHLLftqgTZpkP24jXrK5YpeedWbQAjHcFcDLpFJfr9TypfAU7pPjA';
|
||||
public readonly BTCAddress: string = 'bc1qndc2lesy0sse9vj33a35pnfrqz4znlhhs58vfp';
|
||||
public readonly WOWAddress: string = 'WW33Zj3xu6EGTyKVWaz8EQZmqsTXKdK5eG7PDRaiPuJ1LyREhGHLCRDX3AaLx4r9NFCThRvsbq99KATbswJaxd3T1iwQLJ3Tw';
|
||||
public addressCopied: boolean = false;
|
||||
|
||||
public get guiVersion(): string {
|
||||
return this.daemonService.getGuiVersion();
|
||||
}
|
||||
|
||||
constructor(private daemonService: DaemonService) {
|
||||
|
||||
}
|
||||
constructor(private daemonService: DaemonService) { }
|
||||
|
||||
public copyAddressToClipboard(): void {
|
||||
window.electronAPI.copyToClipboard(this.donateCrypto == 'XMR' ? this.XMRAddress : this.BTCAddress);
|
||||
window.electronAPI.copyToClipboard(this.donateCrypto == 'XMR' ? this.XMRAddress : this.donateCrypto == 'WOW' ? this.WOWAddress : this.BTCAddress);
|
||||
this.addressCopied = true;
|
||||
|
||||
setTimeout(() => {
|
||||
|
|
BIN
src/assets/donations/wow.png
Normal file
BIN
src/assets/donations/wow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Loading…
Reference in a new issue