mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +00:00
feat: add game logo back again
This commit is contained in:
parent
378ad74b43
commit
92e43b90a2
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -232,6 +232,7 @@ export interface TrendingGame {
|
|||
uri: string;
|
||||
description: string;
|
||||
background: string;
|
||||
logo: string | null;
|
||||
}
|
||||
|
||||
export * from "./steam.types";
|
||||
|
|
Loading…
Reference in a new issue