The branch, master has been updated
       via  aed21a39cd2bf774eca21a79a85be8f439e59844 (commit)
      from  ddb6643f031d7ca39d09b00191a7b78a1fc3aebe (commit)


- Log -----------------------------------------------------------------
commit aed21a39cd2bf774eca21a79a85be8f439e59844
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri Nov 14 22:31:46 2025 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Nov 15 06:01:17 2025 +0100

    web/donations: Add my ETH/USDC/Bitcoin addresses to my donation entry.
    
    Only showing small logos, that show and copy the address when clicked
    
    Signed-off-by: Michael Niedermayer <[email protected]>

diff --git a/src/donations b/src/donations
index 54c7388..73499c2 100644
--- a/src/donations
+++ b/src/donations
@@ -72,14 +72,35 @@
         <div class="text-center">
         <a class="btn btn-success btn-lg"
            href="https://paypal.me/niedermayermichael";>PayPal</a><br><br>
-        <div class="pp-amounts">
-        </div>
+        <div class="text-center">
+        <span onclick="revealAndCopy('emn')">
+          <img 
src="https://ethereum.org/images/assets/svgs/eth-diamond-black.svg"; 
alt="Ethereum" width="32" height="32">
+          <img 
src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Circle_USDC_Logo.svg"; 
alt="USDC" width="32" height="32">
+        </span>
+        <span onclick="revealAndCopy('bmn')">
+          <img 
src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg"; 
alt="Bitcoin" width="32" height="32">
+        </span><br>
+        <span id='emn'>0x688233B52Df5fcf563c8181b576728619567DFbb</span><br>
+        <span id='bmn'>bc1q55est04pzyvf0yezf2h7a98m72aunrxdt24jt8</span><br>
       </div>
     </div> <!-- well -->
   </div> <!-- col -->
 </div> <!-- row -->
 
 
+<script>
+function revealAndCopy(id) {
+  var c = document.getElementById(id);
+
+  c.style.display = c.style.display === "none" ? "block" : "none";
+
+  navigator.clipboard.writeText(c.innerHTML);
+}
+
+document.getElementById("emn").style.display = "none";
+document.getElementById("bmn").style.display = "none";
+</script>
+
 <div class="row">
   <div class="col-md-offset-4 col-md-8">
   </div>

-----------------------------------------------------------------------

Summary of changes:
 src/donations | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to