fix: package, auth url

This commit is contained in:
2025-07-20 03:15:13 +05:00
parent 51b155e70a
commit fa115e0a6c
4 changed files with 14 additions and 48 deletions

View File

@ -11,7 +11,15 @@ interface AuthFormProps {
const AuthForm = ({ config, handleInputChange, onLogin }: AuthFormProps) => {
return (
<Box sx={{ display: 'flex', flexDirection: 'column', gap: '1.5vw' }}>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
gap: '1.5vw',
alignItems: 'center',
}}
>
<Typography variant="h6">Логин</Typography>
<TextField
required
name="username"
@ -19,6 +27,7 @@ const AuthForm = ({ config, handleInputChange, onLogin }: AuthFormProps) => {
value={config.username}
onChange={handleInputChange}
sx={{
width: '100%',
// '& .MuiFormLabel-root': {
// color: 'white',
// },
@ -42,6 +51,7 @@ const AuthForm = ({ config, handleInputChange, onLogin }: AuthFormProps) => {
},
}}
/>
<Typography variant="h6">Пароль</Typography>
<TextField
required
type="password"
@ -50,6 +60,7 @@ const AuthForm = ({ config, handleInputChange, onLogin }: AuthFormProps) => {
value={config.password}
onChange={handleInputChange}
sx={{
width: '100%',
// '& .MuiFormLabel-root': {
// color: 'white',
// },