aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-24 20:02:05 -0700
committerAdam Soltys <[email protected]>2024-09-24 20:02:05 -0700
commit11b5a6469158c0dcdafe19e0b6dfcd0abee8df2d (patch)
tree71eb49d553750c0e87338af663b162ab26fa91d2 /src/routes/(app)
parent4373f870ad528811a9e0bb1a6749b01d5a7ec051 (diff)
downloadcoinos-ui-11b5a6469158c0dcdafe19e0b6dfcd0abee8df2d.tar.gz
coinos-ui-11b5a6469158c0dcdafe19e0b6dfcd0abee8df2d.zip
styles
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.svelte2
-rw-r--r--src/routes/(app)/[username]/receive/+page.svelte2
-rw-r--r--src/routes/(app)/invoice/[id]/+page.svelte2
-rw-r--r--src/routes/(app)/receive/[...token]/+page.svelte12
-rw-r--r--src/routes/(app)/send/[...text]/+page.svelte4
-rw-r--r--src/routes/(app)/settings/[...tab]/_pos.svelte23
6 files changed, 11 insertions, 34 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte
index 111fdeb6..7046b7cd 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.svelte
+++ b/src/routes/(app)/[username]/(profile)/+layout.svelte
@@ -82,7 +82,7 @@
<div class="container mx-auto w-full px-4 flex flex-wrap lg:flex-nowrap">
<div class="hidden lg:block lg:w-[280px] xl:w-[360px]" />
<div
- class="w-full lg:w-[280px] xl:w-[360px] lg:absolute space-y-5 left-20 mx-auto mb-5"
+ class="w-full lg:w-[280px] xl:w-[360px] lg:absolute space-y-2 left-20 mx-auto"
>
<button type="button" on:click={toggleDetails} class="flex text-3xl font-bold text-center mx-auto justify-center gap-2">
<div class="my-auto break-words">{display || username}</div>
diff --git a/src/routes/(app)/[username]/receive/+page.svelte b/src/routes/(app)/[username]/receive/+page.svelte
index 9977cc76..11587211 100644
--- a/src/routes/(app)/[username]/receive/+page.svelte
+++ b/src/routes/(app)/[username]/receive/+page.svelte
@@ -275,7 +275,7 @@
class="hover:bg-primary flex gap-1 sm:gap-2 py-3 px-2 sm:px-5 justify-center"
>
<img src="/images/cash.png" class="w-8 my-auto" />
- <div class="my-auto text-lg">E-cash</div>
+ <div class="my-auto text-lg">Ecash</div>
</button>
</a>
{/if}
diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte
index 580456cd..5ef9e5e5 100644
--- a/src/routes/(app)/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/invoice/[id]/+page.svelte
@@ -276,7 +276,7 @@
class="hover:bg-primary flex gap-1 sm:gap-2 py-3 px-2 sm:px-5 justify-center"
>
<img src="/images/cash.png" class="w-8 my-auto" />
- <div class="my-auto text-lg">E-cash</div>
+ <div class="my-auto text-lg">Ecash</div>
</button>
</a>
{/if}
diff --git a/src/routes/(app)/receive/[...token]/+page.svelte b/src/routes/(app)/receive/[...token]/+page.svelte
index 7ff93fa9..988c1e6c 100644
--- a/src/routes/(app)/receive/[...token]/+page.svelte
+++ b/src/routes/(app)/receive/[...token]/+page.svelte
@@ -31,7 +31,7 @@
<div class="container px-4 max-w-lg mx-auto space-y-5 mt-20">
<h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">
- {$t("payments.voucher")}
+ {$t("user.dashboard.receive")}
</h1>
<form method="POST" use:enhance class="space-y-2 text-xl">
@@ -51,7 +51,7 @@
name="text"
placeholder={$t("payments.voucherText")}
on:keypress={keypress}
- class="w-full p-4 border rounded-xl h-48 text-xl"
+ class="w-full p-4 border rounded-xl h-32 text-xl"
bind:value={text}
on:paste={() => (pasted = true)}
autocapitalize="none"
@@ -62,19 +62,19 @@
<a href="/scan" class="w-full">
<button
type="button"
- class="flex border rounded-2xl px-6 py-5 font-bold hover:opacity-80 w-full bg-primary justify-center"
+ class="flex border rounded-2xl px-5 py-4 hover:opacity-80 w-full justify-center gap-1"
>
- <Icon icon="camera" style="mr-2 w-6 my-auto" />
+ <Icon icon="camera" style="w-8 my-auto" />
<div class="my-auto">{$t("user.send.scan")}</div>
</button>
</a>
<button
type="button"
- class="flex border rounded-2xl px-6 py-5 font-bold hover:opacity-80 w-full bg-primary justify-center"
+ class="flex border rounded-2xl px-5 py-4 hover:opacity-80 w-full justify-center gap-1"
on:click={paste}
>
- <Icon icon="paste" style="mr-2 w-6 my-auto" />
+ <Icon icon="paste" style="w-8 my-auto" />
<div class="my-auto">{$t("user.send.paste")}</div>
</button>
</div>
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte
index be7fc664..faa4a766 100644
--- a/src/routes/(app)/send/[...text]/+page.svelte
+++ b/src/routes/(app)/send/[...text]/+page.svelte
@@ -63,7 +63,7 @@
<a href="/scan" class="w-full">
<button
type="button"
- class="flex border rounded-2xl px-6 py-5 font-bold hover:opacity-80 w-full bg-primary justify-center gap-2"
+ class="flex border rounded-2xl px-5 py-4 hover:opacity-80 w-full justify-center gap-2"
>
<Icon icon="camera" style="w-8 my-auto" />
<div class="my-auto">{$t("user.send.scan")}</div>
@@ -72,7 +72,7 @@
<button
type="button"
- class="flex border rounded-2xl px-6 py-5 font-bold hover:opacity-80 w-full bg-primary justify-center gap-2"
+ class="flex border rounded-2xl px-5 py-4 hover:opacity-80 w-full justify-center gap-2"
on:click={paste}
>
<Icon icon="paste" style="w-8 my-auto" />
diff --git a/src/routes/(app)/settings/[...tab]/_pos.svelte b/src/routes/(app)/settings/[...tab]/_pos.svelte
index 6a1c92a1..dcfcbe44 100644
--- a/src/routes/(app)/settings/[...tab]/_pos.svelte
+++ b/src/routes/(app)/settings/[...tab]/_pos.svelte
@@ -63,17 +63,6 @@
</div>
<div>
- <label for="memoPrompt" class="font-bold mb-1 block"
- >{$t("user.settings.memoPrompt")}</label
- >
- <textarea
- name="memoPrompt"
- placeholder={$t("user.settings.memoPromptPlaceholder")}
- bind:value={user.memoPrompt}
- />
-</div>
-
-<div>
<div class="flex justify-between items-center">
<span class="font-bold">{$t("user.settings.notifications")}</span>
<Toggle id="notify" bind:value={user.notify} />
@@ -95,18 +84,6 @@
<div>
<div class="flex justify-between items-center">
- <span class="font-bold">{$t("user.settings.publishNip5")}</span>
- <Toggle id="nip5" bind:value={user.nip5} />
- </div>
- <p class="text-secondary mt-1 w-9/12">
- {$t("user.settings.nip5a")}
- <span class="font-bold">{user.username}@{$page.url.host}</span>
- {$t("user.settings.nip5b")}
- </p>
-</div>
-
-<div>
- <div class="flex justify-between items-center">
<span class="font-bold">{$t("user.settings.autoWithdraw")}</span>
<Toggle id="autowithdraw" bind:value={user.autowithdraw} />
</div>