-
+
-
+
404
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.
The feature set has grown over the years to accomodate a wide variety of use cases with the goal
- of making it as easy as possible for anyone to get started using Bitcoin quickly, cheaply, and securely.
+ of making it as easy as possible for anyone to get started using bitcoin quickly, cheaply, and securely.
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
- way to accept Bitcoin in your store.
+ way to accept bitcoin in your store.
- Grow your customer base and revenue by accepting Bitcoin with an easy-to-use and managed Point
+ Grow your customer base and revenue by accepting bitcoin with an easy-to-use and managed Point
of Sale. No software or hardware required.
{#if !$user}
--
cgit v1.2.3
From 5b7410257ac755d27016ae1f28b44771e1f55bd2 Mon Sep 17 00:00:00 2001
From: secondl1ght <85003930+secondl1ght@users.noreply.github.com>
Date: Tue, 2 Aug 2022 13:46:29 -0600
Subject: update toast message and hide menu onclick
---
src/components/AppHeader.svelte | 1 +
src/components/RegisterOrLogin.svelte | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'src/components')
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 7d029a21..ca540189 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -21,6 +21,7 @@
if (item === 'logout') {
goto('/logout');
} else {
+ showMenu = false;
goto(`/${$user.username + '/' + item}`);
}
};
diff --git a/src/components/RegisterOrLogin.svelte b/src/components/RegisterOrLogin.svelte
index 157c2821..eade96d8 100644
--- a/src/components/RegisterOrLogin.svelte
+++ b/src/components/RegisterOrLogin.svelte
@@ -1,7 +1,6 @@
-
+
{#if $user}
@@ -37,12 +37,21 @@
-
+ {#if $newPayment}
+
+
+
+
+
+ {/if}
-
@@ -80,7 +89,7 @@
{/if}
diff --git a/src/components/Toggle.svelte b/src/components/Toggle.svelte
new file mode 100644
index 00000000..85fd08d5
--- /dev/null
+++ b/src/components/Toggle.svelte
@@ -0,0 +1,12 @@
+
+
+
+
+
+
diff --git a/src/components/index.js b/src/components/index.js
index dade4c2c..1003a1b0 100644
--- a/src/components/index.js
+++ b/src/components/index.js
@@ -11,3 +11,4 @@ export { default as LoadingSplash } from './LoadingSplash.svelte';
export { default as PageNotFound } from './404.svelte';
export { default as About } from './About.svelte';
export { default as Footer } from './Footer.svelte';
+export { default as Toggle } from './Toggle.svelte';
diff --git a/src/lib/socket.js b/src/lib/socket.js
index 53adfe7c..c1b68a12 100644
--- a/src/lib/socket.js
+++ b/src/lib/socket.js
@@ -1,5 +1,5 @@
import { get } from 'svelte/store';
-import { rate, user, token, invoices, preferredCurrency } from '$lib/store';
+import { rate, user, token, invoices, preferredCurrency, newPayment } from '$lib/store';
let interval, socket;
@@ -19,6 +19,7 @@ export const messages = (data) => ({
payment() {
invoices.set({ ...get(invoices), [data.invoice.uuid]: data.invoice });
+ newPayment.set(true);
},
connected: auth,
diff --git a/src/lib/store.js b/src/lib/store.js
index b20fd10f..2fcf21d5 100644
--- a/src/lib/store.js
+++ b/src/lib/store.js
@@ -20,3 +20,5 @@ export const invoiceAmountFiat = writable();
export const token = persisted('token');
export const invoices = writable({});
export const preferredCurrency = writable();
+export const newPayment = writable();
+export const colorTheme = writable('from-primary to-gradient');
diff --git a/src/routes/[username]/settings.svelte b/src/routes/[username]/settings.svelte
index 1935b156..ae8e91c1 100644
--- a/src/routes/[username]/settings.svelte
+++ b/src/routes/[username]/settings.svelte
@@ -1,5 +1,166 @@
-
+{#if $user}
+
+
+
+
Settings
+
+
+ (setting = 'account')}
+ >ACCOUNT
+
+ (setting = 'pos')}
+ >POINT OF SALE
+
+ (setting = 'security')}
+ >SECURITY
+
+
+ {#if setting === 'account'}
+
+ Username
+
+
+
+
+ New Password
+ {#if revealPassword}
+
+ {:else}
+
+ {/if}
+ (revealPassword = !revealPassword)}
+ class="absolute right-5 top-10"
+ >
+
+
+
+
+
+
+ Email Notifications
+
+
+
+ Get notified via email when a change occurs on your account or when people send you
+ payments.
+
+
+
+
+
+ SMS Notifications
+
+
+
+ CoinOS will send you text notifications when this is enabled.
+
+
+
+
+
Color Theme
+
Select from the default color themes.
+ {#each colorThemes as colors}
+
handleThemeClick(colors)}
+ />
+ {/each}
+
+ {:else if setting === 'pos'}
+
+ Local Currency
+
+ USD
+
+
+
+
+ Display bitcoin in:
+
+ Satoshi (SATS)
+ Bitcoin (BTC)
+
+
+ {:else}
+
+
Security Pin
+
+ Set a security pin that will be used to unlock your settings and to send outgoing
+ payments.
+
+
Set Pin
+
+
+
+
Auto-Lock Timer
+
+ Your account will go into a secure mode automatically after a specified time:
+
+
+ 5 min
+ 10 min
+ 30 min
+ 1 hour
+ 8 hours
+
+
+
+
+
2-Factor Authentication
+
+ Add an extra level of security to your device by enableing 2-factor authentication.
+
+
Set up 2FA
+
+ {/if}
+
+{/if}
+
+
diff --git a/src/routes/[username]/transactions.svelte b/src/routes/[username]/transactions.svelte
index bbcc0c23..0e635298 100644
--- a/src/routes/[username]/transactions.svelte
+++ b/src/routes/[username]/transactions.svelte
@@ -1,6 +1,8 @@
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 9b842cc2..5ffdc9a0 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -42,6 +42,6 @@
--toastContainerRight: auto;
--toastContainerBottom: 8rem;
--toastContainerLeft: calc(50vw - 8rem);
- --toastBackground: #292929;
+ --toastBackground: #292929;
}
diff --git a/static/icons/lock.svg b/static/icons/lock.svg
new file mode 100644
index 00000000..adbf200e
--- /dev/null
+++ b/static/icons/lock.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/static/icons/mobile.svg b/static/icons/mobile.svg
new file mode 100644
index 00000000..e23e8233
--- /dev/null
+++ b/static/icons/mobile.svg
@@ -0,0 +1,3 @@
+
+
+
--
cgit v1.2.3
From bf70817d4a3440b5ea105e62648d7c5c67047fd9 Mon Sep 17 00:00:00 2001
From: secondl1ght <85003930+secondl1ght@users.noreply.github.com>
Date: Tue, 2 Aug 2022 20:37:31 -0600
Subject: minor adjustments and additions
---
src/components/LandingHeader.svelte | 4 +---
src/routes/invoice/[id].svelte | 8 ++++----
src/routes/jobs.svelte | 4 ++++
3 files changed, 9 insertions(+), 7 deletions(-)
(limited to 'src/components')
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte
index 65ea607c..a8abfaba 100644
--- a/src/components/LandingHeader.svelte
+++ b/src/components/LandingHeader.svelte
@@ -15,9 +15,7 @@
};
-