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 f2a6586 commit 4a812cc
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
.popup {
display: none;
position: fixed;
left: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
border: 2px solid #333;
Expand All @@ -40,6 +40,11 @@
overflow: auto;
}

.popup img {
max-width: 100%;
max-height: 100%;
}

.popup-close {
position: absolute;
top: 5px;
Expand Down Expand Up @@ -68,15 +73,16 @@ <h2><a href="lightning:zap@d4tis.me" style="text-decoration:none;color:inherit;"
<div class="footer" style="bottom: 15px;">
<p><a href="https://m.youtube.com/shorts/WnjLUG1bgH4" target="_blank">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inflation=Theft</a></p>
</div>
<a href="https://bitcoin.rocks" class="ping-button" target="_blank"></a>

<!-- QR code popup -->
<div class="popup" id="qr-popup">
<span class="popup-close" id="popup-close">&times;</span>
<img src="qr_code_image.png" alt="QR Code">
<p>Scan QR code or click <a href="lightning:lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvwqhkgdr5d9eszvfds0">here</a> to open LNURL</p>
<p><a href="lightning:lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvwqhkgdr5d9eszvfds0">Scan or Click</a></p>
</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() {
Expand All @@ -88,5 +94,4 @@ <h2><a href="lightning:zap@d4tis.me" style="text-decoration:none;color:inherit;"
document.getElementById('qr-popup').style.display = 'none';
});
</script>
</body>
</html>

0 comments on commit 4a812cc

Please sign in to comment.