+
This commit is contained in:
Binary file not shown.
@@ -148,7 +148,7 @@ const CreateCharacter = () => {
|
|||||||
height="300"
|
height="300"
|
||||||
image={imagePreview}
|
image={imagePreview}
|
||||||
alt="Character Preview"
|
alt="Character Preview"
|
||||||
sx={{ borderRadius: '3px', objectFit: 'cover', margin: '0 auto' }}
|
sx={{ borderRadius: '3px', objectFit: 'contain', margin: '0 auto', borderBottom: '1px solid #444' }}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -114,13 +114,13 @@ const GamesPage = () => {
|
|||||||
{/* Character Image and Details */}
|
{/* Character Image and Details */}
|
||||||
<Grid2 item xs={12} md={4}>
|
<Grid2 item xs={12} md={4}>
|
||||||
<Box sx={{ border: '1px solid #444', borderRadius: '3px', p: 2, backgroundColor: '#2e2e3f' }}>
|
<Box sx={{ border: '1px solid #444', borderRadius: '3px', p: 2, backgroundColor: '#2e2e3f' }}>
|
||||||
<Card sx={{ width: '400px', backgroundColor: '#1e1e2f', color: '#fff', height: '635px' }}>
|
<Card sx={{ width: '480px', backgroundColor: '#1e1e2f', color: '#fff', height: '635px' }}>
|
||||||
<CardMedia
|
<CardMedia
|
||||||
component="img"
|
component="img"
|
||||||
height="300"
|
height="300"
|
||||||
image={character.Img || defaultCharacterImage}
|
image={character.Img || defaultCharacterImage}
|
||||||
alt={character.CharName}
|
alt={character.CharName}
|
||||||
sx={{ borderRadius: '3px', objectFit: 'cover', margin: '0 auto' }}
|
sx={{ borderRadius: '3px', objectFit: 'contain', margin: '0 auto', borderBottom: '1px solid #444' }}
|
||||||
/>
|
/>
|
||||||
<CardContent sx={{padding: '4px'}}>
|
<CardContent sx={{padding: '4px'}}>
|
||||||
<Typography variant="h4" sx={{ mb: 4, color: '#fff', textAlign: 'center'}}>{character.CharName}</Typography>
|
<Typography variant="h4" sx={{ mb: 4, color: '#fff', textAlign: 'center'}}>{character.CharName}</Typography>
|
||||||
|
|||||||
@@ -57,6 +57,9 @@ const Profile = () => {
|
|||||||
<Typography variant="body2" sx={{ color: '#bbb' }}>
|
<Typography variant="body2" sx={{ color: '#bbb' }}>
|
||||||
Age: {character.Age}
|
Age: {character.Age}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<Typography variant="body2" sx={{ color: '#bbb', mt: 1 }}>
|
||||||
|
Sex: {character.Sex}
|
||||||
|
</Typography>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user