From f0104c5b61cc6fdce1eb45fce131b957fa54c4b8 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Sun, 24 Sep 2023 13:44:07 +0200 Subject: [PATCH] feat: `LumeIdentity` flow triggers as a "Sign in with Lume" button --- .../lume/LumeIdentity/LumeIdentity.tsx | 33 ++++++++++++++----- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/src/components/lume/LumeIdentity/LumeIdentity.tsx b/src/components/lume/LumeIdentity/LumeIdentity.tsx index af4c315..55f888c 100644 --- a/src/components/lume/LumeIdentity/LumeIdentity.tsx +++ b/src/components/lume/LumeIdentity/LumeIdentity.tsx @@ -6,6 +6,7 @@ import { SwitchableComponent, SwitchableComponentProvider, useSwitchableComponen import ComponentList from "./components"; import { LumeIdentityContext, Session } from './LumeIdentityContext'; import { LazyMotion, domAnimation } from 'framer-motion'; +import * as Dialog from '@radix-ui/react-dialog'; type Props = {} @@ -35,11 +36,11 @@ const LumeIdentity: React.FC = ({ }) => {
- - - - - + + + + + {!isFinalStep ? <>
@@ -57,11 +58,27 @@ const LumeIdentity: React.FC = ({ }) => { }; +// @ditorodev: We should see how we improve this to be more like Google's SSO +// contrast is not very good, as im testing on a train with a lot of sunlight +// hitting my screen, it is almost impossible to see whats happening the outline +// buttons have no contrast export default () => { const [session, setSession] = React.useState(); return - - - + + + + + + + + + + + + + };