aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-13 00:34:05 -0800
committerAdam Soltys <[email protected]>2022-11-13 00:34:05 -0800
commitc53f90fce8887ca706416fe9fa741504914a3b46 (patch)
tree789e819cb4112a79b0a63330134815a93537d62a /src/routes/(app)/send
parentb6f5b61910dad4c4c755409b57c89dd5c1de21ba (diff)
downloadcoinos-ui-c53f90fce8887ca706416fe9fa741504914a3b46.tar.gz
coinos-ui-c53f90fce8887ca706416fe9fa741504914a3b46.zip
link behaviour
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/[...text]/+page.svelte36
1 files changed, 13 insertions, 23 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte
index 7232b307..b2d3d764 100644
--- a/src/routes/(app)/send/[...text]/+page.svelte
+++ b/src/routes/(app)/send/[...text]/+page.svelte
@@ -88,33 +88,23 @@
<h1 class="px-3 md:px-0 text-xl font-semibold mt-10">Contacts</h1>
<div>
{#each contacts as c}
- <div class="border-b p-2 last:border-b-0 hover:bg-gray-100">
- <div class="flex">
- <div>
- <div class="flex">
- <Avatar user={c} size={20} disabled={true} />
- <div class="my-auto text-left">
- <p class="ml-1 text-lg break-words">{c.username}</p>
- <p class="ml-1 text-secondary">
- {format(parseISO(c.last), 'MMM d')}
- </p>
+ <a href={`/send/user/${c.username}`}>
+ <div class="border-b p-2 last:border-b-0 hover:bg-gray-100">
+ <div class="flex">
+ <div>
+ <div class="flex">
+ <Avatar user={c} size={20} />
+ <div class="my-auto text-left">
+ <p class="ml-1 text-lg break-words">{c.username}</p>
+ <p class="ml-1 text-secondary">
+ {format(parseISO(c.last), 'MMM d')}
+ </p>
+ </div>
</div>
</div>
</div>
- <div class="flex ml-auto my-auto gap-2">
- <a href={`/${c.username}/request`}>
- <div class="my-auto p-2 border rounded-xl bg-white opacity-50 hover:opacity-100">
- <Icon icon="support" style="w-8" />
- </div>
- </a>
- <a href={`/${c.username}/receive`}>
- <div class="my-auto p-2 border rounded-xl bg-white opacity-50 hover:opacity-100">
- <Icon icon="send" style="w-8" />
- </div>
- </a>
- </div>
</div>
- </div>
+ </a>
{/each}
</div>
</div>