mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 15:37:10 +00:00
fix: placeholder added
This commit is contained in:
@@ -20,13 +20,11 @@ export function CompetitionCard({
|
|||||||
className={cn("aspect-square h-full w-auto overflow-hidden", className)}
|
className={cn("aspect-square h-full w-auto overflow-hidden", className)}
|
||||||
>
|
>
|
||||||
<div className="relative h-full overflow-hidden">
|
<div className="relative h-full overflow-hidden">
|
||||||
{competition.image_url && (
|
<img
|
||||||
<img
|
src={competition.image_url ? competition.image_url : '/DANO.png'}
|
||||||
src={competition.image_url ? competition.image_url : '/DANO.png'}
|
alt={competition.title}
|
||||||
alt={competition.title}
|
className="h-full w-full object-cover object-center"
|
||||||
className="h-full w-full object-cover object-center"
|
/>
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<CardContent>
|
<CardContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user