From f4dead26c92e2ef6be45af0eb56d12bb3a00d983 Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Sat, 24 Sep 2022 22:20:18 -0600 Subject: lots of style updates after design review, bug fixes, and more improve --- README.md | 3 +- doc/i18n-technical.md | 2 +- doc/i18n.md | 2 +- src/components/About.svelte | 12 ++--- src/components/AppHeader.svelte | 8 ++-- src/components/LandingHero.svelte | 2 +- src/components/LocationsMap.svelte | 11 ++++- src/components/Quote.svelte | 19 ++++---- src/locales/en.json | 16 +++---- src/locales/fr.json | 12 ++--- src/routes/+layout.server.js | 8 ++-- src/routes/+layout.svelte | 2 +- src/routes/+page.svelte | 11 ++--- src/routes/[username]/+page.svelte | 48 ++++++++++--------- src/routes/[username]/dashboard/+page.svelte | 39 +++++++++++++-- src/routes/[username]/receive/+page.svelte | 4 +- src/routes/[username]/settings/+page.svelte | 14 ++++-- src/routes/[username]/settings/_account.svelte | 3 +- src/routes/[username]/settings/_security.svelte | 11 +++-- src/routes/[username]/support/+page.svelte | 2 +- .../[username]/transactions/[...page]/+page.svelte | 4 +- src/routes/invoice/[id]/+page.svelte | 13 +++-- src/routes/launch-party/+page.svelte | 2 +- src/routes/news/+page.svelte | 56 +++++++++++----------- 24 files changed, 175 insertions(+), 129 deletions(-) diff --git a/README.md b/README.md index fba6a9c4..22c4d6ff 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# coinos-ui-v2 +# coinos-ui-v2 coinos is an easy to use bitcoin point of sale application for businesses and wallet for customers, connecting the bitcoin circular economy together. @@ -28,4 +28,3 @@ This UI uses the following libraries: ### Internationalization coinos has a system for translation using [`sveltekit-i18n`](https://www.npmjs.com/package/sveltekit-i18n). For more information and instructions on how to translate coinos, click [here](./doc/i18n.md). For technical details, click [here](./doc/i18n-technical.md). - diff --git a/doc/i18n-technical.md b/doc/i18n-technical.md index 4ea2adbe..3f6a09d5 100644 --- a/doc/i18n-technical.md +++ b/doc/i18n-technical.md @@ -23,7 +23,7 @@ Each locale in `coinos-ui-v2` is defined by a JSON file in `src/locales`. Its na ```json { - "howItWorks": "How It Works", + "howItWorks": "How it works", "faq": "FAQ", "about": "About", "startInSeconds": "Start in Seconds", diff --git a/doc/i18n.md b/doc/i18n.md index 57172464..c54f6461 100644 --- a/doc/i18n.md +++ b/doc/i18n.md @@ -20,7 +20,7 @@ Each translation of coinos is stored in a special _locale file_. These files can ```JSON { - "howItWorks": "How It Works", + "howItWorks": "How it works", "faq": "FAQ", "about": "About", "startInSeconds": "Start in Seconds", diff --git a/src/components/About.svelte b/src/components/About.svelte index 9857aa92..cf45a253 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -42,22 +42,22 @@
{@html $t('about.p1')}
++ {@html $t('about.p2')} +
{@html $t('about.p3')}
-- {@html $t('about.p4')} -
{@html $t('about.locations.description')} diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 04426bd3..f0272fe1 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -116,20 +116,20 @@ {#if $subject?.profile}
- Welcome to the new and improved coinos, focused on merchant adoption! Looking for the old coinos? Visit - classic.coinos.ioclassic.coinos.io.
{$subject.address && $subject.address !== "null" ? $subject.address : ''}
++ {$subject.address && $subject.address !== 'null' ? $subject.address : ''} +
- -{$t('user.scanToPayBTC')}
+{$t('user.scanToPayBTC')}
-