Add lightning scheme to QR code

This commit is contained in:
ekzyis 2023-09-09 22:52:50 +02:00
parent 05e89ccbf2
commit 09c619ab63
2 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@ nav > form > button:hover {
color: #ffffff;
}
#lnauth-qr > a:hover {
background: none;
}
hr {
border: none;
height: 1px;

View File

@ -36,7 +36,7 @@
</code>
<div id="lnauth-qr">
<div class="mb-1">Login with Lightning</div>
<img class="m-auto mb-1" src="data:image/png;base64,{{.qr}}" width="100%"/>
<a href="lightning:{{.lnurl}}"><img class="m-auto mb-1" src="data:image/png;base64,{{.qr}}" width="100%"/></a>
<div class="font-mono word-wrap">{{.lnurl}}</div>
</div>
<div id="lnauth-success" hidden>