feat: add game logo back again

This commit is contained in:
Zamitto 2024-09-14 13:16:31 -03:00
parent 378ad74b43
commit 92e43b90a2
2 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,13 @@ export function Hero() {
/>
<div className={styles.content}>
{game.logo && (
<img
src={game.logo || game.background}
width="250px"
alt={game.description}
/>
)}
<p className={styles.description}>{game.description}</p>
</div>
</div>

View File

@ -232,6 +232,7 @@ export interface TrendingGame {
uri: string;
description: string;
background: string;
logo: string | null;
}
export * from "./steam.types";