aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Account.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-25 18:35:22 -0700
committerAdam Soltys <[email protected]>2024-09-25 18:35:22 -0700
commitd233662ca231b528f227e145abc7fdeda8423c72 (patch)
treee4583f7dcd1339aa6a676da156747c3dc01f5a43 /src/components/Account.svelte
parent9157cb04821278207af7e1b3951536f856f7ccbb (diff)
downloadcoinos-ui-d233662ca231b528f227e145abc7fdeda8423c72.tar.gz
coinos-ui-d233662ca231b528f227e145abc7fdeda8423c72.zip
revert xss screen
Diffstat (limited to 'src/components/Account.svelte')
-rw-r--r--src/components/Account.svelte38
1 files changed, 20 insertions, 18 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index 4f615c49..d283b393 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -16,21 +16,23 @@
<a href={`/payments`} class="block space-y-2" on:click={setAccount}>
<div class="flex">
<Balance {balance} {user} {rate} />
- <a href={`/payments`} class="contents" on:click={setAccount}>
- <button class="ml-auto flex gap-1 mb-auto pb-4 pl-4">
- <Icon icon="clock" style="w-8 my-auto" />
- </button>
- </a>
- <a href={`/account/${id}`} class="contents">
- <button class="flex gap-1 mb-auto pb-4 pl-4">
- <Icon icon="settings" style="w-8 my-auto" />
- </button>
- </a>
+ <a href={`/payments`} class="contents" on:click={setAccount}>
+ <button class="ml-auto flex gap-1 mb-auto pb-4 pl-4">
+ <Icon icon="clock" style="w-8 my-auto" />
+ </button>
+ </a>
+ <a href={`/account/${id}`} class="contents">
+ <button class="flex gap-1 mb-auto pb-4 pl-4">
+ <Icon icon="settings" style="w-8 my-auto" />
+ </button>
+ </a>
</div>
<div class="flex justify-center w-full text-lg gap-2">
<a href={`/invoice`} class="contents" on:click={setAccount}>
- <button class="py-3 px-4 hover:opacity-80 flex grow border rounded-2xl bg-primary">
+ <button
+ class="py-3 px-4 hover:opacity-80 flex grow border rounded-2xl bg-primary"
+ >
<div class="mx-auto flex gap-2">
<Icon icon="receive" style="w-8" />
<div class="my-auto">{$t("user.dashboard.receive")}</div>
@@ -40,13 +42,13 @@
<a href={`/send`} class="contents grow" on:click={setAccount}>
<button
- type="button"
- class="py-3 px-4 hover:opacity-80 flex grow border rounded-2xl bg-primary"
- >
- <div class="mx-auto flex gap-1">
- <Icon icon="send" style="w-8" />
- <div class="my-auto">{$t("user.dashboard.send")}</div>
- </div>
+ type="button"
+ class="py-3 px-4 hover:opacity-80 flex grow border rounded-2xl bg-primary"
+ >
+ <div class="mx-auto flex gap-1">
+ <Icon icon="send" style="w-8" />
+ <div class="my-auto">{$t("user.dashboard.send")}</div>
+ </div>
</button>
</a>
</div>