Enable email login on web
This commit is contained in:
@ -100,6 +100,18 @@ const textVariants = {
|
||||
lineHeight: '1.5',
|
||||
cursor: 'pointer',
|
||||
},
|
||||
action: {
|
||||
fontSize: '16px',
|
||||
fontWeight: '500',
|
||||
lineHeight: '1.5',
|
||||
},
|
||||
actionLink: {
|
||||
fontSize: '16px',
|
||||
fontWeight: '500',
|
||||
lineHeight: '1.5',
|
||||
textDecoration: 'underline',
|
||||
cursor: 'pointer',
|
||||
},
|
||||
highlightTitleAndAuthor: {
|
||||
fontSize: '18px',
|
||||
fontStyle: 'italic',
|
||||
|
||||
@ -106,6 +106,11 @@ export function LoginForm(props: LoginFormProps): JSX.Element {
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
<Link href="/auth/email-login" passHref>
|
||||
<StyledTextSpan style="actionLink" css={{ color: '$omnivoreGray', pt: '12px' }}>
|
||||
Continue with Email
|
||||
</StyledTextSpan>
|
||||
</Link>
|
||||
</VStack>
|
||||
<TermAndConditionsFooter />
|
||||
</VStack>
|
||||
|
||||
@ -101,7 +101,7 @@ export function EmailLogin(): JSX.Element {
|
||||
<Button type="submit" style={'ctaDarkYellow'}>Login</Button>
|
||||
</HStack>
|
||||
<StyledText
|
||||
style="caption"
|
||||
style="action"
|
||||
css={{
|
||||
m: '0px',
|
||||
pt: '16px',
|
||||
@ -112,11 +112,11 @@ export function EmailLogin(): JSX.Element {
|
||||
>
|
||||
Don't have an account? {' '}
|
||||
<Link href="/auth/email-signup" passHref>
|
||||
<StyledTextSpan style="captionLink" css={{ color: '$omnivoreGray' }}>Sign up</StyledTextSpan>
|
||||
<StyledTextSpan style="actionLink" css={{ color: '$omnivoreGray' }}>Sign up</StyledTextSpan>
|
||||
</Link>
|
||||
</StyledText>
|
||||
<StyledText
|
||||
style="caption"
|
||||
style="action"
|
||||
css={{
|
||||
mt: '0px',
|
||||
pt: '4px',
|
||||
@ -127,7 +127,7 @@ export function EmailLogin(): JSX.Element {
|
||||
>
|
||||
Forgot your password? {' '}
|
||||
<Link href="/auth/forgot-password" passHref>
|
||||
<StyledTextSpan style="captionLink" css={{ color: '$omnivoreGray' }}>Click here</StyledTextSpan>
|
||||
<StyledTextSpan style="actionLink" css={{ color: '$omnivoreGray' }}>Click here</StyledTextSpan>
|
||||
</Link>
|
||||
</StyledText>
|
||||
</VStack>
|
||||
|
||||
@ -165,7 +165,7 @@ export function EmailSignup(): JSX.Element {
|
||||
</HStack>
|
||||
|
||||
<StyledText
|
||||
style="caption"
|
||||
style="action"
|
||||
css={{
|
||||
pt: '16px',
|
||||
color: '$omnivoreLightGray',
|
||||
@ -174,7 +174,7 @@ export function EmailSignup(): JSX.Element {
|
||||
>
|
||||
Already have an account? {' '}
|
||||
<Link href="/auth/email-login" passHref>
|
||||
<StyledTextSpan style="captionLink" css={{ color: '$omnivoreGray' }}>Login instead</StyledTextSpan>
|
||||
<StyledTextSpan style="actionLink" css={{ color: '$omnivoreGray' }}>Login instead</StyledTextSpan>
|
||||
</Link>
|
||||
</StyledText>
|
||||
<TermAndConditionsFooter />
|
||||
|
||||
Reference in New Issue
Block a user