fix: 提交样式和侧边栏
This commit is contained in:
@@ -59,7 +59,7 @@ export default function LoginForm({
|
||||
<FormItem className={'mb-5'}>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
placeholder='Email'
|
||||
type='email'
|
||||
{...field}
|
||||
@@ -76,7 +76,7 @@ export default function LoginForm({
|
||||
<FormItem className={'mb-2'}>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
placeholder='password'
|
||||
type='password'
|
||||
{...field}
|
||||
@@ -104,14 +104,14 @@ export default function LoginForm({
|
||||
<Button
|
||||
variant='link'
|
||||
type='button'
|
||||
className='p-0'
|
||||
className='p-0 text-[#225BA9]'
|
||||
onClick={() => onSwitchForm('reset')}
|
||||
>
|
||||
{t('forgotPassword')}
|
||||
</Button>
|
||||
<Button
|
||||
variant='link'
|
||||
className='p-0'
|
||||
className='p-0 text-[#225BA9]'
|
||||
onClick={() => {
|
||||
setInitialValues(undefined);
|
||||
onSwitchForm('register');
|
||||
|
||||
@@ -102,7 +102,7 @@ export default function RegisterForm({
|
||||
<FormItem>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
placeholder='Enter your email...'
|
||||
type='email'
|
||||
{...field}
|
||||
@@ -119,7 +119,7 @@ export default function RegisterForm({
|
||||
<FormItem>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
placeholder='Enter your password...'
|
||||
type='password'
|
||||
{...field}
|
||||
@@ -136,7 +136,7 @@ export default function RegisterForm({
|
||||
<FormItem>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
disabled={loading}
|
||||
placeholder='Enter password again...'
|
||||
type='password'
|
||||
@@ -157,7 +157,9 @@ export default function RegisterForm({
|
||||
<div className='flex items-center gap-8'>
|
||||
<Input
|
||||
disabled={loading}
|
||||
className={'h-[60px] flex-1 text-xl'}
|
||||
className={
|
||||
'h-[60px] flex-1 text-xl shadow-[inset_0_0_7.6px_0_#00000040]'
|
||||
}
|
||||
placeholder='Enter code...'
|
||||
type='text'
|
||||
{...field}
|
||||
@@ -184,7 +186,7 @@ export default function RegisterForm({
|
||||
<FormItem>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
disabled={loading || !!localStorage.getItem('invite')}
|
||||
placeholder={t('invite')}
|
||||
{...field}
|
||||
@@ -215,7 +217,7 @@ export default function RegisterForm({
|
||||
{t('existingAccount')}
|
||||
<Button
|
||||
variant='link'
|
||||
className='p-0'
|
||||
className='p-0 text-[#225BA9]'
|
||||
onClick={() => {
|
||||
setInitialValues(undefined);
|
||||
onSwitchForm('login');
|
||||
|
||||
@@ -65,7 +65,7 @@ export default function ResetForm({
|
||||
<FormItem>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
placeholder='Enter your email...'
|
||||
type='email'
|
||||
{...field}
|
||||
@@ -83,7 +83,7 @@ export default function ResetForm({
|
||||
<FormControl>
|
||||
<div className='flex items-center gap-8'>
|
||||
<Input
|
||||
className={'h-[60px] flex-1 text-xl'}
|
||||
className={'h-[60px] flex-1 text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
disabled={loading}
|
||||
placeholder='Enter code...'
|
||||
type='text'
|
||||
@@ -110,7 +110,7 @@ export default function ResetForm({
|
||||
<FormItem>
|
||||
<FormControl>
|
||||
<Input
|
||||
className={'h-[60px] text-xl'}
|
||||
className={'h-[60px] text-xl shadow-[inset_0_0_7.6px_0_#00000040]'}
|
||||
placeholder='Enter your new password...'
|
||||
type='password'
|
||||
{...field}
|
||||
@@ -139,7 +139,7 @@ export default function ResetForm({
|
||||
{t('existingAccount')}
|
||||
<Button
|
||||
variant='link'
|
||||
className='p-0'
|
||||
className='p-0 text-[#225BA9]'
|
||||
onClick={() => {
|
||||
setInitialValues(undefined);
|
||||
onSwitchForm('login');
|
||||
|
||||
Reference in New Issue
Block a user