Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
d4tis authored Feb 12, 2024
1 parent f534308 commit f2bb11e
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,28 +85,28 @@ <h2><a href="lightning:zap@d4tis.me" style="text-decoration:none;color:inherit;"
<p><a href="https://m.youtube.com/shorts/WnjLUG1bgH4" target="_blank">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inflation=Theft</a></p>
</div>

<!-- QR code popup -->
<div class="popup" id="qr-popup">
<div class="popup-content">
<span class="popup-close" id="popup-close">&times;</span>
<img src="qr_code.png" alt="QR Code">
<p><a href="lightning:lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvwqhkgdr5d9eszvfds0">Scan or Click</a></p>
</div>
</div>

<a href="https://bitcoin.rocks" class="ping-button" target="_blank"></a>

<script>
// JavaScript to handle LNURL button click
document.getElementById('lnurl-button').addEventListener('click', function() {
document.getElementById('qr-popup').style.display = 'flex';
});
// JavaScript to handle LNURL button click
document.getElementById('lnurl-button').addEventListener('click', function() {
document.getElementById('qr-popup').style.display = 'flex';
});

// Close popup when close button is clicked
document.getElementById('popup-close').addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default behavior of the anchor tag
document.getElementById('qr-popup').style.display = 'none';
});
</script>
// Close popup when close button is clicked
document.getElementById('popup-close').addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default behavior of the anchor tag
document.getElementById('qr-popup').style.display = 'none';
});
</script>

<!-- QR code popup -->
<div class="popup" id="qr-popup">
<div class="popup-content">
<span class="popup-close" id="popup-close">&times;</span>
<img src="qr_code.png" alt="QR Code">
<p><a href="lightning:lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvwqhkgdr5d9eszvfds0">Scan or Click</a></p>
</div>
</div>
</body>
</html>

0 comments on commit f2bb11e

Please sign in to comment.