From f05093405ed58f688cecbe4382310c234415da56 Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Fri, 16 Sep 2022 12:28:53 -0600 Subject: format and temp disable username update until we fix breaking changes --- src/components/About.svelte | 4 +--- src/locales/en.json | 10 +++++----- src/routes/[username]/+page.svelte | 2 +- src/routes/[username]/dashboard/+page.svelte | 13 +++++++------ src/routes/[username]/settings/_account.svelte | 5 +++-- src/routes/invoice/[id]/+page.svelte | 10 ++++++---- 6 files changed, 23 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/components/About.svelte b/src/components/About.svelte index e6f0825a..46b823b2 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -13,9 +13,7 @@ { name: 'cole', socials: [] }, { name: 'gene', - socials: [ - { type: 'twitter', url: 'https://twitter.com/cogentgene', color: 'bg-[#1D9BF0]' } - ] + socials: [{ type: 'twitter', url: 'https://twitter.com/cogentgene', color: 'bg-[#1D9BF0]' }] }, { name: 'john', diff --git a/src/locales/en.json b/src/locales/en.json index 8a3bc999..161e2c36 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -22,11 +22,11 @@ "bio": "A self-taught Web Developer, secondl1ght dove head first down the bitcoin rabbit hole and left his fiat job to focus on bitcoin development full-time. He contributes to open source projects, is a privacy advocate, and freedom lover." }, - "gene": { - "name": "Gene", - "position": "Product Designer", - "bio": "My mission is to help startup founders succeed. I create products to achieve this goal. Pixel-perfect product design. Get is shipped." - }, + "gene": { + "name": "Gene", + "position": "Product Designer", + "bio": "My mission is to help startup founders succeed. I create products to achieve this goal. Pixel-perfect product design. Get is shipped." + }, "shauna": { "name": "Shauna", "position": "Operations & Marketing", diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte index 5ebbd376..6544dc00 100644 --- a/src/routes/[username]/+page.svelte +++ b/src/routes/[username]/+page.svelte @@ -58,7 +58,7 @@
copy(lightningAddress)} + on:click={() => copy(lightningAddress)} id="qr" class=" cursor-pointer w-[292px] md:w-[342px] h-[342px] border border-lightgrey rounded-3xl flex p-5 justify-center items-center relative" /> diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte index 3cd3ac67..56c8571f 100644 --- a/src/routes/[username]/dashboard/+page.svelte +++ b/src/routes/[username]/dashboard/+page.svelte @@ -14,7 +14,7 @@ withdrawing; let toggle = async () => { -payreq = '' + payreq = ''; withdrawing = !withdrawing; await tick(); if (withdrawing) payreqField.focus(); @@ -73,8 +73,9 @@ payreq = '' class="rounded-full border py-2 px-5 font-bold mt-4 block md:inline hover:bg-primary" on:click={() => goto(`/${user.username}/receive`)}>{$t('user.dashboard.receive')} - {$t('user.dashboard.withdraw')}
{:else} @@ -84,7 +85,7 @@ payreq = ''
- +
- - + +
- +
@@ -144,7 +145,7 @@
{/if}
- + - copy(text)}>
-- cgit v1.2.3