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
commitb76c61974071c9e0f8c6646cccc521cae333db12 (patch)
tree13ce7e3e320f1895b133aec22fc0f804aed21d7f /src
parent5fbbf999b967ab31a78825385c36d30534c8350c (diff)
downloadcoinos-ui-b76c61974071c9e0f8c6646cccc521cae333db12.tar.gz
coinos-ui-b76c61974071c9e0f8c6646cccc521cae333db12.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>