From 4a27b55b78026ab7a9a2881df460632f68c3c11a Mon Sep 17 00:00:00 2001 From: demogorgod Date: Tue, 21 Mar 2023 09:28:02 -0400 Subject: [PATCH] Add multi-wallet tab on dashboard page --- apps/web/src/layouts/default-layout.vue | 93 +++++++++++++++++++++- apps/web/src/pages/assets/Assets.vue | 17 ---- apps/web/src/pages/auth/Auth.vue | 12 ++- apps/web/src/pages/dashboard/Dashboard.vue | 4 +- apps/web/tailwind.config.js | 4 +- 5 files changed, 101 insertions(+), 29 deletions(-) delete mode 100644 apps/web/src/pages/assets/Assets.vue diff --git a/apps/web/src/layouts/default-layout.vue b/apps/web/src/layouts/default-layout.vue index 0548b5b65..8cc57a81e 100644 --- a/apps/web/src/layouts/default-layout.vue +++ b/apps/web/src/layouts/default-layout.vue @@ -1,7 +1,12 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/apps/web/src/pages/assets/Assets.vue b/apps/web/src/pages/assets/Assets.vue deleted file mode 100644 index 539225fc3..000000000 --- a/apps/web/src/pages/assets/Assets.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - \ No newline at end of file diff --git a/apps/web/src/pages/auth/Auth.vue b/apps/web/src/pages/auth/Auth.vue index 8b861aaf9..61b55d745 100644 --- a/apps/web/src/pages/auth/Auth.vue +++ b/apps/web/src/pages/auth/Auth.vue @@ -2,6 +2,9 @@ import { ref } from 'vue' import useWallet from '@/composables/wallet' import { ProviderString } from '@casimir/types' +import useUsers from '@/composables/users' + +const { user } = useUsers() const { connectWallet } = useWallet() @@ -36,9 +39,10 @@ const wallets = ref([

- New user? Connect any wallet to create an account with wallet. - Once wallet is connected, you can connect more wallets on the dashboard page with the - Multi-Wallet tab in the top right of the page. + New user? Connect any wallet to create an account. + Once wallet is connected, you can connect more wallets in the dashboard page with the + Multi-Wallet tab in the top right of the page. Wallets connected will go under your + sign-in wallet. On sign in all connected wallets will be populating the dashboard.

By connecting your wallets you agree to @@ -52,7 +56,7 @@ const wallets = ref([

-
-
+
+
Table
diff --git a/apps/web/tailwind.config.js b/apps/web/tailwind.config.js index c8e0f83f6..0eda2a02d 100644 --- a/apps/web/tailwind.config.js +++ b/apps/web/tailwind.config.js @@ -15,7 +15,7 @@ module.exports = { 'secondary': '#C1D3F8', 'white': '#fff', 'shade': '#615959', - 'grey' : '#E4E4E7', + 'grey' : '#727476', // Blues 'blue_1': '#E5EEFF', @@ -45,7 +45,7 @@ module.exports = { 'warning': '#FBBD84', 'approve': '#7BE198', 'decline': '#FF8080', - 'borders': '#E4E4E7', + 'border': '#B2BACB', }, spacing: { 'gutter': '16px',