diff --git a/public/css/donate.css b/public/css/donate.css new file mode 100644 index 0000000..7ae5217 --- /dev/null +++ b/public/css/donate.css @@ -0,0 +1,4 @@ +.monero { + max-height: 100px; + overflow-y: auto; +} \ No newline at end of file diff --git a/public/js/donate.js b/public/js/donate.js new file mode 100644 index 0000000..cd6505e --- /dev/null +++ b/public/js/donate.js @@ -0,0 +1,8 @@ +function copyToClipboard(elementId) { + const text = document.getElementById(elementId).innerText; + navigator.clipboard.writeText(text).then(() => { + alert('Copied to clipboard'); + }).catch(err => { + console.error('Failed to copy: ', err); + }); +} \ No newline at end of file diff --git a/src/donate.ejs b/src/donate.ejs index 46bbb4f..c15198e 100644 --- a/src/donate.ejs +++ b/src/donate.ejs @@ -1,4 +1,4 @@ -<%- include('shards/header', { title: 'Donate - p0ntus mail' }) %> +<%- include('shards/header', { title: 'Donate - p0ntus mail', currentPage: 'donate' }) %>
<%= bitcoin %>
+<%= bitcoin %>
+ +<%= ethereum %>
+<%= ethereum %>
+ +<%= litecoin %>
+<%= litecoin %>
+ +<%= monero %>
+<%= monero %>
+ +<%= solana %>
+<%= solana %>
+ +