mirror of
https://github.com/aljazceru/landscape-template.git
synced 2025-12-31 04:54:22 +01:00
update: make lnurl QRs clickable
This commit is contained in:
@@ -157,11 +157,13 @@ export default function LoginPage() {
|
||||
<p className="text-body1 font-bolder text-center">
|
||||
Login with lightning ⚡
|
||||
</p>
|
||||
<QRCodeSVG
|
||||
width={160}
|
||||
height={160}
|
||||
value={lnurl}
|
||||
/>
|
||||
<a href={`lightning:${lnurl}`}>
|
||||
<QRCodeSVG
|
||||
width={160}
|
||||
height={160}
|
||||
value={lnurl}
|
||||
/>
|
||||
</a>
|
||||
<p className="text-gray-600 text-body4 text-center">
|
||||
Scan this code or copy + paste it to your lightning wallet. Or click to login with your browser's wallet.
|
||||
</p>
|
||||
|
||||
@@ -99,11 +99,13 @@ export default function LinkingAccountModal({ onClose, direction, ...props }: Mo
|
||||
else
|
||||
content =
|
||||
<div className='flex flex-col gap-24 items-center mt-32'>
|
||||
<QRCodeSVG
|
||||
width={160}
|
||||
height={160}
|
||||
value={lnurl}
|
||||
/>
|
||||
<a href={`lightning:${lnurl}`}>
|
||||
<QRCodeSVG
|
||||
width={160}
|
||||
height={160}
|
||||
value={lnurl}
|
||||
/>
|
||||
</a>
|
||||
<p className="text-gray-600 text-body4 text-center">
|
||||
Scan this QR code with your other lightning wallet & you will be able to use it to login to this account.
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user