From 056dee94c96248eb2135457743c4af0f2199b5f2 Mon Sep 17 00:00:00 2001 From: Viterbo Date: Fri, 8 Dec 2023 11:03:10 -0300 Subject: [PATCH] now both EVM and Zero login buttons looks the same --- src/boot/ual.js | 11 +- src/pages/home/HomePage.vue | 5 +- src/pages/home/NativeLoginButton.vue | 349 ++++++++++++++++++--------- 3 files changed, 248 insertions(+), 117 deletions(-) diff --git a/src/boot/ual.js b/src/boot/ual.js index 7271a10c6..81330398a 100644 --- a/src/boot/ual.js +++ b/src/boot/ual.js @@ -149,11 +149,12 @@ export default boot(async ({ app, store }) => { loginHandler, signHandler, }), - new OreIdAuthenticator([chain], { - appId: process.env.OREID_APP_ID_NATIVE, - plugins: { popup: WebPopup() }, - }, - AuthProvider.Google), + // TODO: What should we do with this Authenticator? + // new OreIdAuthenticator([chain], { + // appId: process.env.OREID_APP_ID_NATIVE, + // plugins: { popup: WebPopup() }, + // }, + // AuthProvider.Google), ]; const ual = new UAL([chain], 'ual', authenticators); diff --git a/src/pages/home/HomePage.vue b/src/pages/home/HomePage.vue index 275e38fdb..51d05f025 100644 --- a/src/pages/home/HomePage.vue +++ b/src/pages/home/HomePage.vue @@ -88,7 +88,10 @@ onMounted(() => { - +