fix images

This commit is contained in:
2025-06-20 10:59:41 +02:00
parent 94220039f9
commit 9e13a4ea20
2 changed files with 8 additions and 0 deletions

View File

@@ -933,6 +933,8 @@ export default function LogParser() {
className={`${event.text.includes('Opponent') ? 'flex justify-end' : ''}`}
>
<Image
width={142}
height={190}
src={event.img}
alt={event.img}
/>
@@ -1005,6 +1007,8 @@ export default function LogParser() {
<Image
src={`/cards/${jokerName}.png`}
alt={cleanName}
width={142}
height={190}
/>
<span>{cleanName}</span>
</div>
@@ -1044,6 +1048,8 @@ export default function LogParser() {
<Image
src={`/cards/${jokerName}.png`}
alt={cleanName}
width={142}
height={190}
/>
<span>{cleanName}</span>
</div>

View File

@@ -16,6 +16,8 @@ export function PlayerCard(player: PlayerCardProps) {
<div className='relative aspect-square bg-muted'>
<div className='absolute inset-0 flex items-center justify-center'>
<Image
width={142}
height={190}
src={player.picture}
alt={player.name}
className={'h-full w-full object-cover'}