Accomodate (future) check status button

This commit is contained in:
Manav Rathi 2024-06-13 12:54:24 +05:30
parent ca949ac077
commit ec68a11ec3
No known key found for this signature in database

View File

@ -74,11 +74,29 @@ export const VerifyingPasskey: React.FC<VerifyingPasskeyProps> = ({
<PasskeyHeader>{email ?? ""}</PasskeyHeader>
<VerifyingPasskeyMiddle>
<Typography>{t("waiting_for_verification")}</Typography>
<Typography color="text.muted">
{t("waiting_for_verification")}
</Typography>
<EnteButton onClick={onRetry} color="accent" type="button">
{t("try_again")}
</EnteButton>
<ButtonStack>
<EnteButton
onClick={onRetry}
fullWidth
color="secondary"
type="button"
>
{t("try_again")}
</EnteButton>
<EnteButton
onClick={() => {}}
fullWidth
color="accent"
type="button"
>
{"Check status"}
</EnteButton>
</ButtonStack>
</VerifyingPasskeyMiddle>
<FormPaperFooter style={{ justifyContent: "space-between" }}>
@ -100,7 +118,13 @@ const VerifyingPasskeyMiddle = styled("div")`
display: flex;
flex-direction: column;
margin-block: 3rem;
gap: 3rem;
align-items: center;
padding-block: 1rem;
gap: 4rem;
text-align: center;
`;
const ButtonStack = styled("div")`
display: flex;
flex-direction: column;
gap: 1rem;
`;