Layout improvements for auth pages
This commit is contained in:
@ -4,7 +4,7 @@ const textVariants = {
|
|||||||
style: {
|
style: {
|
||||||
body: {
|
body: {
|
||||||
fontSize: '$2',
|
fontSize: '$2',
|
||||||
lineHeight: '1.25',
|
lineHeight: '1.50',
|
||||||
},
|
},
|
||||||
logoTitle: {
|
logoTitle: {
|
||||||
fontFamily: 'Inter',
|
fontFamily: 'Inter',
|
||||||
|
|||||||
@ -40,9 +40,8 @@ const ForgotPasswordForm = (): JSX.Element => {
|
|||||||
export function EmailForgotPassword(): JSX.Element {
|
export function EmailForgotPassword(): JSX.Element {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const [email, setEmail] = useState<string>('')
|
const [email, setEmail] = useState<string>('')
|
||||||
const [errorMessage, setErrorMessage] = useState<string | undefined>(
|
const [errorMessage, setErrorMessage] =
|
||||||
undefined
|
useState<string | undefined>(undefined)
|
||||||
)
|
|
||||||
const recaptchaTokenRef = useRef<HTMLInputElement>(null)
|
const recaptchaTokenRef = useRef<HTMLInputElement>(null)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -59,7 +58,7 @@ export function EmailForgotPassword(): JSX.Element {
|
|||||||
<VStack
|
<VStack
|
||||||
alignment="center"
|
alignment="center"
|
||||||
css={{
|
css={{
|
||||||
padding: '16px',
|
padding: '20px',
|
||||||
minWidth: '340px',
|
minWidth: '340px',
|
||||||
width: '70vw',
|
width: '70vw',
|
||||||
maxWidth: '576px',
|
maxWidth: '576px',
|
||||||
|
|||||||
@ -52,9 +52,8 @@ const LoginForm = (): JSX.Element => {
|
|||||||
|
|
||||||
export function EmailLogin(): JSX.Element {
|
export function EmailLogin(): JSX.Element {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const [errorMessage, setErrorMessage] = useState<string | undefined>(
|
const [errorMessage, setErrorMessage] =
|
||||||
undefined
|
useState<string | undefined>(undefined)
|
||||||
)
|
|
||||||
const recaptchaTokenRef = useRef<HTMLInputElement>(null)
|
const recaptchaTokenRef = useRef<HTMLInputElement>(null)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@ -71,7 +70,7 @@ export function EmailLogin(): JSX.Element {
|
|||||||
<VStack
|
<VStack
|
||||||
alignment="center"
|
alignment="center"
|
||||||
css={{
|
css={{
|
||||||
padding: '16px',
|
padding: '20px',
|
||||||
minWidth: '340px',
|
minWidth: '340px',
|
||||||
width: '70vw',
|
width: '70vw',
|
||||||
maxWidth: '576px',
|
maxWidth: '576px',
|
||||||
|
|||||||
@ -150,7 +150,7 @@ export function EmailSignup(): JSX.Element {
|
|||||||
<VStack
|
<VStack
|
||||||
alignment="center"
|
alignment="center"
|
||||||
css={{
|
css={{
|
||||||
padding: '16px',
|
padding: '20px',
|
||||||
minWidth: '340px',
|
minWidth: '340px',
|
||||||
width: '70vw',
|
width: '70vw',
|
||||||
maxWidth: '576px',
|
maxWidth: '576px',
|
||||||
|
|||||||
Reference in New Issue
Block a user