fix: issue in user profile
This commit is contained in:
14
src/App.tsx
14
src/App.tsx
@@ -7,16 +7,25 @@ import {
|
|||||||
useColorScheme,
|
useColorScheme,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
import './App.css';
|
import './App.css';
|
||||||
|
<<<<<<< HEAD
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { LanguageManager } from './components/LanguageManager';
|
import { LanguageManager } from './components/LanguageManager';
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
=======
|
=======
|
||||||
>>>>>>> f1620b6 (fix: issue in user profile)
|
>>>>>>> f1620b6 (fix: issue in user profile)
|
||||||
|
=======
|
||||||
|
=======
|
||||||
|
import { UserProfileForm } from './features/profile/components/UserProfileForm';
|
||||||
|
|
||||||
|
>>>>>>> 3698cbf (feat: implement user profile form)
|
||||||
|
>>>>>>> f9815fb (fix: issue in user profile)
|
||||||
function App() {
|
function App() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<<<<<<< HEAD
|
||||||
<>
|
<>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
<LanguageManager />
|
<LanguageManager />
|
||||||
@@ -45,6 +54,11 @@ function App() {
|
|||||||
</Box>
|
</Box>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
=======
|
||||||
|
<div>
|
||||||
|
<UserProfileForm />
|
||||||
|
</div>
|
||||||
|
>>>>>>> 3698cbf (feat: implement user profile form)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -108,12 +108,16 @@ export function UserProfileForm() {
|
|||||||
<Grid container spacing={0.5}>
|
<Grid container spacing={0.5}>
|
||||||
<Grid item xs={12} sm={6}>
|
<Grid item xs={12} sm={6}>
|
||||||
<Box sx={{ mb: 2 }}>
|
<Box sx={{ mb: 2 }}>
|
||||||
|
<<<<<<< HEAD
|
||||||
<Typography
|
<Typography
|
||||||
variant="subtitle2"
|
variant="subtitle2"
|
||||||
sx={{ color: 'gray', fontSize: '14px', ml: '34vh' }}
|
sx={{ color: 'gray', fontSize: '14px', ml: '34vh' }}
|
||||||
>
|
>
|
||||||
نام
|
نام
|
||||||
</Typography>
|
</Typography>
|
||||||
|
=======
|
||||||
|
<Typography variant="subtitle2">نام</Typography>
|
||||||
|
>>>>>>> f9815fb (fix: issue in user profile)
|
||||||
{isEditing ? (
|
{isEditing ? (
|
||||||
<TextField
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
@@ -125,9 +129,12 @@ export function UserProfileForm() {
|
|||||||
inputProps={{
|
inputProps={{
|
||||||
sx: {
|
sx: {
|
||||||
height: '12px',
|
height: '12px',
|
||||||
|
<<<<<<< HEAD
|
||||||
fontSize: '16px',
|
fontSize: '16px',
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
direction: 'rtl',
|
direction: 'rtl',
|
||||||
|
=======
|
||||||
|
>>>>>>> f9815fb (fix: issue in user profile)
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -139,12 +146,16 @@ export function UserProfileForm() {
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box>
|
<Box>
|
||||||
|
<<<<<<< HEAD
|
||||||
<Typography
|
<Typography
|
||||||
variant="subtitle2"
|
variant="subtitle2"
|
||||||
sx={{ color: 'gray', fontSize: '14px' }}
|
sx={{ color: 'gray', fontSize: '14px' }}
|
||||||
>
|
>
|
||||||
جنسیت
|
جنسیت
|
||||||
</Typography>
|
</Typography>
|
||||||
|
=======
|
||||||
|
<Typography variant="subtitle2">جنسیت</Typography>
|
||||||
|
>>>>>>> f9815fb (fix: issue in user profile)
|
||||||
{isEditing ? (
|
{isEditing ? (
|
||||||
<FormControl sx={{ width: '230px' }}>
|
<FormControl sx={{ width: '230px' }}>
|
||||||
<InputLabel id="sex-label">جنسیت</InputLabel>
|
<InputLabel id="sex-label">جنسیت</InputLabel>
|
||||||
@@ -175,10 +186,14 @@ export function UserProfileForm() {
|
|||||||
|
|
||||||
<Grid item xs={12} sm={6}>
|
<Grid item xs={12} sm={6}>
|
||||||
<Box sx={{ mb: 2 }}>
|
<Box sx={{ mb: 2 }}>
|
||||||
|
<<<<<<< HEAD
|
||||||
<Typography
|
<Typography
|
||||||
variant="subtitle2"
|
variant="subtitle2"
|
||||||
sx={{ color: 'gray', fontSize: '14px' }}
|
sx={{ color: 'gray', fontSize: '14px' }}
|
||||||
>
|
>
|
||||||
|
=======
|
||||||
|
<Typography variant="subtitle2" sx={{ width: '230px' }}>
|
||||||
|
>>>>>>> f9815fb (fix: issue in user profile)
|
||||||
نام خانوادگی
|
نام خانوادگی
|
||||||
</Typography>
|
</Typography>
|
||||||
{isEditing ? (
|
{isEditing ? (
|
||||||
@@ -203,12 +218,16 @@ export function UserProfileForm() {
|
|||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box>
|
<Box>
|
||||||
|
<<<<<<< HEAD
|
||||||
<Typography
|
<Typography
|
||||||
variant="subtitle2"
|
variant="subtitle2"
|
||||||
sx={{ color: 'gray', fontSize: '14px' }}
|
sx={{ color: 'gray', fontSize: '14px' }}
|
||||||
>
|
>
|
||||||
کد ملی
|
کد ملی
|
||||||
</Typography>
|
</Typography>
|
||||||
|
=======
|
||||||
|
<Typography variant="subtitle2">کد ملی</Typography>
|
||||||
|
>>>>>>> f9815fb (fix: issue in user profile)
|
||||||
{isEditing ? (
|
{isEditing ? (
|
||||||
<TextField
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user