diff options
| author | Adam Soltys <[email protected]> | 2022-10-06 09:50:59 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-06 09:50:59 -0700 |
| commit | a592f4dff28577e9123a5bcca1e46335028f42c4 (patch) | |
| tree | be17460f34e421c8b627afdb387d6d9069927d9d /src/routes | |
| parent | 1b2e6b54f6ef394ab6b861ee30de8f36f583bff8 (diff) | |
| download | coinos-ui-a592f4dff28577e9123a5bcca1e46335028f42c4.tar.gz coinos-ui-a592f4dff28577e9123a5bcca1e46335028f42c4.zip | |
avatar component and bg cover
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/send/user/[username]/[...amount]/+page.svelte | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/routes/send/user/[username]/[...amount]/+page.svelte b/src/routes/send/user/[username]/[...amount]/+page.svelte index 21460342..a50dea53 100644 --- a/src/routes/send/user/[username]/[...amount]/+page.svelte +++ b/src/routes/send/user/[username]/[...amount]/+page.svelte @@ -1,8 +1,8 @@ <script> - import { goto } from "$app/navigation"; + import { goto } from '$app/navigation'; import { selectedRate } from '$lib/store'; import { enhance } from '$app/forms'; - import { Icon, Numpad, Spinner } from '$comp'; + import { Avatar, Icon, Numpad, Spinner } from '$comp'; import { page } from '$app/stores'; import { back, f, s, sats } from '$lib/utils'; export let data; @@ -49,7 +49,11 @@ </p> <h1 class="text-xl md:text-2xl text-secondary mb-2">to</h1> - <p class="text-6xl break-words">{recipient.username}</p> + + <div class="flex p-1 gap-2 justify-center"> + <Avatar user={recipient} /> + <p class="text-6xl break-words my-auto">{recipient.username}</p> + </div> </div> {:else} <Numpad bind:amount={a} bind:amountFiat={af} {currency} bind:fiat /> |
