diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/en.json | 8 | ||||
| -rw-r--r-- | src/routes/invoice/[id]/paid/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/login/+page.server.js | 2 | ||||
| -rw-r--r-- | src/routes/login/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/send/lightning/[payreq]/+page.svelte | 8 | ||||
| -rw-r--r-- | src/routes/sent/+page.svelte | 3 |
6 files changed, 12 insertions, 13 deletions
diff --git a/src/locales/en.json b/src/locales/en.json index e9af5557..a6c94b58 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -56,15 +56,15 @@ "header": "FAQ", "cost": { "question": "What does it cost?", - "answer": "You pay nothing to register and maintain your account and receive unlimited payments over the lightning network. We charge a 0.1% fee to convert regular bitcoin to lightning and vice versa. Lightning withdrawals are subject to network routing fees that are typically very low." + "answer": "There's no cost to register and maintain your account and receive unlimited payments over the lightning network. We charge a 0.1% fee to convert from lightning to bitcoin." }, "compatibility": { "question": "Do I need any special device or software?", "answer": "No. Coinos is web-based, so as long as you have an internet connection, you can use it on any device. Retail merchants might use it on a phone or a tablet." }, "safety": { - "question": "What can I do with the bitcoin I receive?", - "answer": "Use it to pay staff and suppliers, support other bitcoin-accepting businesses or hold onto it and watch your purchasing power grow." + "question": "Can I exchange my bitcoin to my local currency or other cryptos?", + "answer": "That's not something we support but you can withdraw your funds at any time to a third party wallet or exchange." } }, "footer": { @@ -89,7 +89,7 @@ }, "step3": { "header": "3. That's all!", - "description": "You're now free to use your bitcoin however you like." + "description": "Now you can pay your staff and suppliers or go shopping at other bitcoin businesses." } }, "invoice": { diff --git a/src/routes/invoice/[id]/paid/+page.svelte b/src/routes/invoice/[id]/paid/+page.svelte index 9479f0aa..95c721d0 100644 --- a/src/routes/invoice/[id]/paid/+page.svelte +++ b/src/routes/invoice/[id]/paid/+page.svelte @@ -23,7 +23,7 @@ </script> <div class="container px-4 text-center"> - <div class="flex w-full py-10" in:scale={{ start: 0.5 }}> + <div class="flex w-full py-20 max-w-[200px] mx-auto" in:scale={{ start: 0.5 }}> <Icon icon="check" style="mx-auto" /> </div> <h1 class="text-3xl md:text-4xl font-bold mb-6">{$t('invoice.paymentSuccessful')}</h1> diff --git a/src/routes/login/+page.server.js b/src/routes/login/+page.server.js index 750933a0..69077fc6 100644 --- a/src/routes/login/+page.server.js +++ b/src/routes/login/+page.server.js @@ -7,10 +7,8 @@ export const actions = { try { await login(user, cookies); } catch (e) { - console.log("fail") return invalid(400, { error: 'Login failed' }); } - console.log("succ") throw redirect(303, `/${user.username}/dashboard`); } diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index 57b67643..cf7cb517 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -1,6 +1,6 @@ <script> import { RegisterOrLogin } from '$comp'; - export let form; + export let form; </script> <RegisterOrLogin pageID="signIn" bind:form /> diff --git a/src/routes/send/lightning/[payreq]/+page.svelte b/src/routes/send/lightning/[payreq]/+page.svelte index 65e8989e..b61a9264 100644 --- a/src/routes/send/lightning/[payreq]/+page.svelte +++ b/src/routes/send/lightning/[payreq]/+page.svelte @@ -20,10 +20,10 @@ <div class="container px-4 mt-20 max-w-xl mx-auto"> {#if amount} <div class="text-center mb-8"> - <h1 class="text-3xl md:text-4xl font-semibold mb-2">Send</h1> - <p class="text-lg text-secondary break-words mb-4">{s(amount)} sats</p> - <h1 class="text-xl md:text-2xl font-semibold mb-2">To</h1> - <p class="text-lg text-secondary break-words">{alias}</p> + <h1 class="text-xl md:text-2xl text-secondary mb-2">Sending</h1> + <p class="text-6xl break-words mb-4">{s(amount)} <span class="text-xl md:text-2xl text-secondary">sats</span></p> + <h1 class="text-xl md:text-2xl text-secondary mb-2">to</h1> + <p class="text-6xl break-words">{alias}</p> </div> {:else} <Numpad bind:amount {currency} /> diff --git a/src/routes/sent/+page.svelte b/src/routes/sent/+page.svelte index c70aea39..f79166e4 100644 --- a/src/routes/sent/+page.svelte +++ b/src/routes/sent/+page.svelte @@ -1,4 +1,5 @@ <script> + import { scale } from 'svelte/transition'; import { Icon } from '$comp'; import { toast } from '@zerodevx/svelte-toast'; import { t } from '$lib/translations'; @@ -10,7 +11,7 @@ </script> <div class="text-center mt-20 md:mt-0"> - <div class="flex w-full py-20"> + <div class="flex w-full max-w-[200px] mx-auto py-20" in:scale={{ start: 0.5 }}> <Icon icon="check" style="mx-auto" /> </div> <h1 class="text-3xl md:text-4xl font-bold mb-6">Sent!</h1> |
