This commit is contained in:
2025-01-17 14:14:30 +01:00
parent 75d86e8ba4
commit 825ef49398
7 changed files with 61 additions and 61 deletions
+17 -17
View File
@@ -180,7 +180,7 @@ const CreateCharacter = () => {
'&:hover': { backgroundColor: '#9865f7' }
}}
>
Upload Character Image
Lade Charakterbild hoch
</Button>
</Box>
)}
@@ -212,7 +212,7 @@ const CreateCharacter = () => {
<Grid2 item xs={5}>
<TextField
fullWidth
label="Age"
label="Alter"
name="age"
type="number"
value={formData.age}
@@ -224,7 +224,7 @@ const CreateCharacter = () => {
<Grid2 item xs={5}>
<TextField
fullWidth
label="Race"
label="Rasse"
name="race"
value={formData.race}
onChange={handleChange}
@@ -234,7 +234,7 @@ const CreateCharacter = () => {
</Grid2>
<Grid2 item xs={5}>
<FormControl fullWidth>
<InputLabel sx={{ color: '#fff' }}>Sex</InputLabel>
<InputLabel sx={{ color: '#fff' }}>Geschlecht</InputLabel>
<Select
name="sex"
value={formData.sex}
@@ -247,16 +247,16 @@ const CreateCharacter = () => {
width: '150px'
}}
>
<MenuItem value="Male">Male</MenuItem>
<MenuItem value="Female">Female</MenuItem>
<MenuItem value="Other">Other</MenuItem>
<MenuItem value="Male">Männlich</MenuItem>
<MenuItem value="Female">Weiblich</MenuItem>
<MenuItem value="Other">Divers</MenuItem>
</Select>
</FormControl>
</Grid2>
<Grid2 item xs={5}>
<TextField
fullWidth
label="Job/Class"
label="Klasse"
name="job"
value={formData.job}
onChange={handleChange}
@@ -276,7 +276,7 @@ const CreateCharacter = () => {
<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' }}>
<HeartIcon sx={{ color: "red" }} />
<span>Max Health</span>
<span>Maximale Gesundheit</span>
</Typography>
<TextField
fullWidth
@@ -297,7 +297,7 @@ const CreateCharacter = () => {
<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' }}>
<WaterDropIcon sx={{ color: 'blue' }} />
<span>Max Mana</span>
<span>Maximales Mana</span>
</Typography>
<TextField
fullWidth
@@ -319,7 +319,7 @@ const CreateCharacter = () => {
{/* Description */}
<Box sx={{ mb: 4 }}>
<Typography variant="h5" sx={{ color: '#fff', mb: 2 }}>Description</Typography>
<Typography variant="h5" sx={{ color: '#fff', mb: 2 }}>Beschreibung</Typography>
<Box sx={{ backgroundColor: '#2e2e3f', p: 2, borderRadius: '8px', border: '1px solid #444' }}>
<TextField
fullWidth
@@ -341,7 +341,7 @@ const CreateCharacter = () => {
{/* Stats Grid */}
<Box sx={{ mb: 4 }}>
<Typography variant="h5" sx={{ color: '#fff', mb: 2 }}>Character Stats</Typography>
<Typography variant="h5" sx={{ color: '#fff', mb: 2 }}>Charakterwerte</Typography>
<Box sx={{
backgroundColor: '#2e2e3f',
p: 2,
@@ -355,7 +355,7 @@ const CreateCharacter = () => {
<Grid2 item xs={10} md={2}>
<TextField
fullWidth
label="Strength"
label="Stärke"
name="strength"
type="number"
value={formData.strength}
@@ -366,7 +366,7 @@ const CreateCharacter = () => {
<Grid2 item xs={10} md={2}>
<TextField
fullWidth
label="Dexterity"
label="Geschicklichkeit"
name="dexterity"
type="number"
value={formData.dexterity}
@@ -377,7 +377,7 @@ const CreateCharacter = () => {
<Grid2 item xs={10} md={2}>
<TextField
fullWidth
label="Agility"
label="Agilität"
name="agility"
type="number"
value={formData.agility}
@@ -388,7 +388,7 @@ const CreateCharacter = () => {
<Grid2 item xs={10} md={2}>
<TextField
fullWidth
label="Endurance"
label="Ausdauer"
name="endurance"
type="number"
value={formData.endurance}
@@ -411,7 +411,7 @@ const CreateCharacter = () => {
mt: 3
}}
>
Create Character
Erstelle Charakter
</Button>
</Grid2>
</Grid2 >