diff options
| author | Adam Soltys <[email protected]> | 2023-11-09 16:49:10 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-11-11 00:04:22 -0800 |
| commit | efdbc67c17fab67bf3cdce448a30aa82f62c5212 (patch) | |
| tree | 8af4f6245ea63e0b8a2d36f5da88439fc8d38ff7 /src | |
| parent | 9d554851a47ca9b4efd38f2682f313bd2623f8bf (diff) | |
| download | coinos-ui-efdbc67c17fab67bf3cdce448a30aa82f62c5212.tar.gz coinos-ui-efdbc67c17fab67bf3cdce448a30aa82f62c5212.zip | |
funds
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/AppHeader.svelte | 1 | ||||
| -rw-r--r-- | src/locales/en.json | 4 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/+page.server.js (renamed from src/routes/(app)/fund/[id]/+page.server.js) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/+page.svelte (renamed from src/routes/(app)/fund/[id]/+page.svelte) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/sweep/+page.server.js (renamed from src/routes/(app)/fund/[id]/sweep/+page.server.js) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/sweep/+page.svelte (renamed from src/routes/(app)/fund/[id]/sweep/+page.svelte) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/withdraw/+page.server.js (renamed from src/routes/(app)/fund/[id]/withdraw/+page.server.js) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/withdraw/+page.svelte (renamed from src/routes/(app)/fund/[id]/withdraw/+page.svelte) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/funds/[id]/withdraw/+server.js (renamed from src/routes/(app)/fund/[id]/withdraw/+server.js) | 0 | ||||
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.svelte | 8 |
10 files changed, 12 insertions, 1 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 798073fb..4ee0c4a7 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -17,6 +17,7 @@ menuButtons = [ { key: 'nav.settings', icon: 'settings', href: `/${user.username}/settings` }, { key: 'nav.support', icon: 'support', href: `/support` }, + { key: 'nav.funds', icon: 'fund', href: `/${user.username}/funds` }, { key: 'nav.map', icon: 'map', href: `/${user.username}/map` }, { key: 'nav.merch', icon: 'shirt', href: `https://coinosmerch.com` }, { key: 'nav.signOut', icon: 'logout', href: `/logout` } diff --git a/src/locales/en.json b/src/locales/en.json index d3e294d4..7aa157d1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -26,7 +26,8 @@ "error": { "header": "Error", "message": "Please try again or contact support.", - "signIn": "Please sign in to continue." + "signIn": "Please sign in to continue.", + "unrecognizedInput": "Unrecognized input" }, "faq": { "header": "FAQ", @@ -145,6 +146,7 @@ "failed": "Login failed" }, "nav": { + "funds": "Funds", "map": "Map", "merch": "Merch", "profile": "Profile", diff --git a/src/routes/(app)/fund/[id]/+page.server.js b/src/routes/(app)/funds/[id]/+page.server.js index 4194deed..4194deed 100644 --- a/src/routes/(app)/fund/[id]/+page.server.js +++ b/src/routes/(app)/funds/[id]/+page.server.js diff --git a/src/routes/(app)/fund/[id]/+page.svelte b/src/routes/(app)/funds/[id]/+page.svelte index d2d3079c..d2d3079c 100644 --- a/src/routes/(app)/fund/[id]/+page.svelte +++ b/src/routes/(app)/funds/[id]/+page.svelte diff --git a/src/routes/(app)/fund/[id]/sweep/+page.server.js b/src/routes/(app)/funds/[id]/sweep/+page.server.js index 9fd244a3..9fd244a3 100644 --- a/src/routes/(app)/fund/[id]/sweep/+page.server.js +++ b/src/routes/(app)/funds/[id]/sweep/+page.server.js diff --git a/src/routes/(app)/fund/[id]/sweep/+page.svelte b/src/routes/(app)/funds/[id]/sweep/+page.svelte index 64bed4dd..64bed4dd 100644 --- a/src/routes/(app)/fund/[id]/sweep/+page.svelte +++ b/src/routes/(app)/funds/[id]/sweep/+page.svelte diff --git a/src/routes/(app)/fund/[id]/withdraw/+page.server.js b/src/routes/(app)/funds/[id]/withdraw/+page.server.js index 476149f2..476149f2 100644 --- a/src/routes/(app)/fund/[id]/withdraw/+page.server.js +++ b/src/routes/(app)/funds/[id]/withdraw/+page.server.js diff --git a/src/routes/(app)/fund/[id]/withdraw/+page.svelte b/src/routes/(app)/funds/[id]/withdraw/+page.svelte index 9cad945a..9cad945a 100644 --- a/src/routes/(app)/fund/[id]/withdraw/+page.svelte +++ b/src/routes/(app)/funds/[id]/withdraw/+page.svelte diff --git a/src/routes/(app)/fund/[id]/withdraw/+server.js b/src/routes/(app)/funds/[id]/withdraw/+server.js index 0f9a23f3..0f9a23f3 100644 --- a/src/routes/(app)/fund/[id]/withdraw/+server.js +++ b/src/routes/(app)/funds/[id]/withdraw/+server.js diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte index c246f811..de84c287 100644 --- a/src/routes/(app)/send/[...text]/+page.svelte +++ b/src/routes/(app)/send/[...text]/+page.svelte @@ -35,6 +35,14 @@ </h1> <form method="POST" use:enhance> + {#if form?.error} + <div class="mb-5"> + <div class="text-red-600"> + {$t('error.unrecognizedInput')} + </div> + </div> + {/if} + <div class="mb-2"> <input type="hidden" name="text" bind:value={text} /> |
