-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e322502
commit 39c25f7
Showing
8 changed files
with
112 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,6 @@ po/*~ | |
|
||
# RStudio Connect folder | ||
rsconnect/ | ||
|
||
# machine | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
title: "Donate" | ||
output: rmarkdown::html_vignette | ||
vignette: > | ||
%\VignetteIndexEntry{Donate} | ||
%\VignetteEngine{knitr::rmarkdown} | ||
%\VignetteEncoding{UTF-8} | ||
--- | ||
|
||
<script> | ||
function copyToClipboard(elementId) { | ||
var element = document.getElementById(elementId); | ||
var text = element.innerText; | ||
navigator.clipboard.writeText(text).then(function() { | ||
console.log('Copying to clipboard was successful!'); | ||
alert("Copied to clipboard!"); | ||
}, function(err) { | ||
console.error('Could not copy text: ', err); | ||
}); | ||
} | ||
</script> | ||
|
||
|
||
## Support my work | ||
|
||
If you find this package useful, please consider supporting my work with a cryptocurrency donation. | ||
|
||
### Bitcoin | ||
|
||
<div class="crypto-address"> | ||
<span id="bitcoin-address">bc1qgs4f6hhnzj8m2j05axgsf53k67kugps92qzr2k</span> | ||
<button onclick="copyToClipboard('bitcoin-address')">Copy</button> | ||
</div> | ||
|
||
```{r, echo=FALSE, out.width="50%", fig.align='center'} | ||
knitr::include_graphics("../man/figures/BITCOIN.png") | ||
``` | ||
|
||
### Monero | ||
|
||
<div class="crypto-address"> | ||
<span id="monero-address">41wSUfpnhVUW5GnTKCyBBwVuokhkjMeepAVkKT1qv3HDhcZhTSQx1UaTaibEukndQrCPLVMcRt1LVFpVSq3YrdRjENBtMkG</span> | ||
<button onclick="copyToClipboard('monero-address')">Copy</button> | ||
</div> | ||
|
||
```{r, echo=FALSE, out.width="50%", fig.align='center'} | ||
knitr::include_graphics("../man/figures/MONERO.png") | ||
``` | ||
|
||
<style> | ||
.crypto-address { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
} | ||
.crypto-address span { | ||
font-family: monospace; | ||
padding: 5px; | ||
border: 1px solid #ccc; | ||
border-radius: 3px; | ||
margin-right: 10px; | ||
} | ||
.crypto-address button { | ||
padding: 5px 10px; | ||
background-color: #f0f0f0; | ||
border: 1px solid #ccc; | ||
border-radius: 3px; | ||
cursor: pointer; | ||
} | ||
</style> |