From 92e43b90a21df78a492b75e98935f4868aa928d3 Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Sat, 14 Sep 2024 13:16:31 -0300 Subject: [PATCH] feat: add game logo back again --- src/renderer/src/components/hero/hero.tsx | 7 +++++++ src/types/index.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/src/renderer/src/components/hero/hero.tsx b/src/renderer/src/components/hero/hero.tsx index df0f8a7f..f25b25c8 100644 --- a/src/renderer/src/components/hero/hero.tsx +++ b/src/renderer/src/components/hero/hero.tsx @@ -48,6 +48,13 @@ export function Hero() { />
+ {game.logo && ( + {game.description} + )}

{game.description}

diff --git a/src/types/index.ts b/src/types/index.ts index c996608b..5421c079 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -232,6 +232,7 @@ export interface TrendingGame { uri: string; description: string; background: string; + logo: string | null; } export * from "./steam.types";