spacing for urls, clickable lnurl

This commit is contained in:
Alejandro Gomez
2023-01-15 23:34:15 +01:00
parent fd0ce62428
commit bb2d7950fe
2 changed files with 15 additions and 12 deletions

View File

@ -67,12 +67,14 @@ export default function ProfilePage() {
</div>
)}
{lnurl ? <div className="lnurl f-ellipsis">
{lnurl}
<div className="btn btn-icon" onClick={(e) => setShowLnQr(true)}>
<FontAwesomeIcon icon={faQrcode} size="lg" />
</div>
</div> : null}
{lnurl && (
<>
<span className="lnurl f-ellipsis" onClick={(e) => setShowLnQr(true)}>
{lnurl}
</span>
</>
)}
<LNURLTip svc={lnurl} show={showLnQr} onClose={() => setShowLnQr(false)} />
</div>
)