From d99a3524fd2649f1a9ce3623333de56a99e06971 Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Tue, 2 Aug 2022 13:23:59 -0600 Subject: lots of updates, implementing design, refactoring, bug fixes and more --- src/components/404.svelte | 4 +- src/components/About.svelte | 8 +- src/components/AppHeader.svelte | 2 +- src/components/Footer.svelte | 1 - src/components/LandingHero.svelte | 4 +- src/lib/socket.js | 2 +- src/lib/utils.js | 45 ++++- src/routes/[username]/dashboard.svelte | 67 ++++++- src/routes/[username]/index.svelte | 34 +--- src/routes/[username]/receive.svelte | 22 +-- src/routes/[username]/support.svelte | 45 +++++ src/routes/__error.svelte | 8 +- src/routes/__layout.svelte | 8 +- src/routes/community.svelte | 0 src/routes/index.svelte | 2 +- src/routes/invoice/[id].svelte | 318 ++++++++++++++++----------------- src/routes/jobs.svelte | 28 +++ src/routes/support.svelte | 5 - 18 files changed, 375 insertions(+), 228 deletions(-) create mode 100644 src/routes/[username]/support.svelte delete mode 100644 src/routes/community.svelte delete mode 100644 src/routes/support.svelte diff --git a/src/components/404.svelte b/src/components/404.svelte index 503316bb..426f1f96 100644 --- a/src/components/404.svelte +++ b/src/components/404.svelte @@ -5,10 +5,10 @@
Page not found.
diff --git a/src/components/About.svelte b/src/components/About.svelte index 3731bf9b..84e1761b 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -2,10 +2,10 @@ import { Image, Icon } from '$comp'; const aboutAdam = [ - 'Running Bitcoin since 2011', + 'Running bitcoin since 2011', '20+ years web development experience in government and industry', - 'Early Bitcoin Vancouver meetup organizer', - 'Founder of The Bitcoin Co-op and early supporter of Decentral Vancouver', + 'Early bitcoin Vancouver meetup organizer', + 'Founder of The bitcoin Co-op and early supporter of Decentral Vancouver', 'Yogi, permaculturist, anarchist, decentralist', 'Husband, father, brother, son' ]; @@ -21,7 +21,7 @@ as a way to provide local merchants with a convenient way to accept bitcoin payments.
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index d0123650..7d029a21 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -8,7 +8,7 @@
export let avatarPosition = 'left-[calc(50vw-48px)]';
const menuButtons = [
- { title: 'Customers', icon: 'customers', goto: 'customers' },
+ // { title: 'Customers', icon: 'customers', goto: 'customers' },
{ title: 'Dashboard', icon: 'dash', goto: 'dashboard' },
{ title: 'Settings', icon: 'settings', goto: 'settings' },
{ title: 'Support', icon: 'support', goto: 'support' },
diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte
index 0c682179..f1de0173 100644
--- a/src/components/Footer.svelte
+++ b/src/components/Footer.svelte
@@ -9,7 +9,6 @@
const companyLinks = [
{ url: 'mailto:support@coinos.io', title: 'Support' },
- { url: '/community', title: 'Community' },
{ url: '/jobs', title: 'Jobs' }
];
diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte
index 93bea8c2..750f5626 100644
--- a/src/components/LandingHero.svelte
+++ b/src/components/LandingHero.svelte
@@ -12,12 +12,12 @@
The
easiest
+ You will be charged a 1% withdrawal fee ({$rate ? feeAmount : 'fetching rate...'}) on your balance. +
+Address goes here
- + -->Scan to pay with Bitcoin
+Scan to pay with bitcoin
{message}
-+ Get notified via email when a change occurs on your account or when people send you + payments. +
++ CoinOS will send you text notifications when this is enabled. +
+Select from the default color themes.
+ {#each colorThemes as colors} ++ Set a security pin that will be used to unlock your settings and to send outgoing + payments. +
++ Your account will go into a secure mode automatically after a specified time: +
+ ++ Add an extra level of security to your device by enableing 2-factor authentication. +
+