mirror of
https://github.com/ChuckNorrison/LightningTipBot.git
synced 2026-08-17 13:07:16 +02:00
design (#338)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
parent
410f56aaf5
commit
c00196e9d6
1 changed files with 14 additions and 5 deletions
|
|
@ -14,12 +14,20 @@
|
|||
text-align: center;
|
||||
font-family: monospace;
|
||||
width: 600px;
|
||||
color: #f3f3f3c5 !important;
|
||||
}
|
||||
.image-cropper {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 50%;
|
||||
}
|
||||
#photo {
|
||||
margin-top: 50px;
|
||||
width: 100px;
|
||||
}
|
||||
a {
|
||||
.white {
|
||||
color: #f3f3f3c5;
|
||||
}
|
||||
#qr {
|
||||
|
|
@ -37,18 +45,19 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<a href="https://t.me/{{.Username}}"><img id="photo" src="{{.Image}}"/></a>
|
||||
<h1>Pay to <a href="https://t.me/{{.Username}}">{{.Username}}@ln.tips</a></h1>
|
||||
<a href="https://t.me/{{.Username}}"><img id="photo" class="image-cropper" src="{{.Image}}"/></a>
|
||||
<h1>Pay to <a class="white" href="https://t.me/{{.Username}}">{{.Username}}@ln.tips</a></h1>
|
||||
|
||||
<div><a href="lightning:{{.LNURLPay}}" id="qr"></a></div>
|
||||
<div id="invoice">{{.LNURLPay}}</div>
|
||||
<div class="white" id="invoice">{{.LNURLPay}}</div>
|
||||
|
||||
<script>
|
||||
qr.appendChild(
|
||||
kjua({
|
||||
text: invoice.innerHTML,
|
||||
rounded: 50,
|
||||
size: 500
|
||||
size: 500,
|
||||
render: 'canvas',
|
||||
})
|
||||
)
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue