Game page updated
This commit is contained in:
Marces Zastrow
2025-01-08 14:08:00 +01:00
parent fb3b1f5ba6
commit 01465e844b
3 changed files with 29 additions and 25 deletions
+4 -2
View File
@@ -65,7 +65,7 @@ const GamesPage = () => {
{/* CharName, Health and Mana Bars */}
<Grid2 item xs={12} md={8}>
<Typography variant="h3" sx={{ mb: 4, color: '#fff' }}>{character.CharName}</Typography>
<Box sx={{ display: 'flex', gap: 2, mb: 4, width: '600px'}}>
<Box sx={{ display: 'flex', gap: 2, mb: 4, width: '450px'}}>
<Box sx={{ flex: 1, backgroundColor: '#2e2e3f', borderRadius: '8px', p: 2, border: '1px solid #444' }}>
<Typography variant="body1" sx={{ display: 'flex', justifyContent: 'space-between', color: '#fff' }}>
<span>Health</span>
@@ -89,7 +89,9 @@ const GamesPage = () => {
{/* Character Info Section */}
<Box sx={{ mb: 4 }}>
<Typography variant="h5" sx={{ mb: 2, color: '#fff' }}>Description</Typography>
<Typography variant="body1" sx={{ color: '#fff' }}>{character.description}</Typography>
<Box sx={{ maxHeight: '300px', overflowY: 'auto', backgroundColor: '#2e2e3f', p: 2, borderRadius: '8px', border: '1px solid #444' }}>
<Typography variant="body1" sx={{ color: '#fff' }}>{character.description}</Typography>
</Box>
</Box>
{/* Inventory */}