Game profile: IGDB platforms, IGDB link, sparse-profile fix
- Source platforms from IGDB first, fall back to Steam and detectables only when IGDB has none - Add IGDB page button next to Steam, SteamDB, Discord and ITAD - Hide the details box when a profile has no details instead of rendering it empty - ITAD lookup matches titles ignoring punctuation and marks
This commit is contained in:
5 files changed
+35
-16
No files matched your search
@@ -322,6 +322,16 @@ export function GameProfileModal({
|
||||
{dict.openOnSteamDb} ↗
|
||||
</a>
|
||||
) : null}
|
||||
{profile?.igdbUrl ? (
|
||||
<a
|
||||
href={profile.igdbUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="rounded-full border border-white/15 px-4 py-1.5 text-xs text-zinc-300 transition-colors hover:border-blurple hover:text-white"
|
||||
>
|
||||
{dict.openOnIgdb} ↗
|
||||
</a>
|
||||
) : null}
|
||||
<a
|
||||
href={gameUrl}
|
||||
target="_blank"
|
||||
|
||||
Reference in new issue
Block a user