aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-16 12:08:58 -0600
committersecondl1ght <[email protected]>2022-09-16 12:08:58 -0600
commit6b136af544c76a9df46105e70d0fd4cf2d595061 (patch)
tree73524313b29ab3494122889f5a4f82243c6fc7cd /src
parentd68a55c5af1efd34d3c4339dd160b0b486815b0a (diff)
downloadcoinos-ui-6b136af544c76a9df46105e70d0fd4cf2d595061.tar.gz
coinos-ui-6b136af544c76a9df46105e70d0fd4cf2d595061.zip
add copy ln address to qr
Diffstat (limited to 'src')
-rw-r--r--src/routes/[username]/+page.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte
index bcb4437d..5ebbd376 100644
--- a/src/routes/[username]/+page.svelte
+++ b/src/routes/[username]/+page.svelte
@@ -45,7 +45,7 @@
<p class="text-secondary">{$user.address ? $user.address : ''}</p>
- <!--
+ <!-- TODO
we need to hook this up
<button
class="border rounded-full py-2 w-28 font-semibold flex justify-center items-center text-sm"
@@ -58,8 +58,9 @@
<div class="space-y-5 static xl:absolute top-[255px] left-[calc(50vw-150px)]">
<div
+on:click={() => copy(lightningAddress)}
id="qr"
- class="w-[292px] md:w-[342px] h-[342px] border border-lightgrey rounded-3xl flex p-5 justify-center items-center relative"
+ class=" cursor-pointer w-[292px] md:w-[342px] h-[342px] border border-lightgrey rounded-3xl flex p-5 justify-center items-center relative"
/>
<p class="text-secondary text-center font-semibold">{$t('user.scanToPayBTC')}</p>