feat: show item renders in public database

This commit is contained in:
jb
2026-07-31 23:33:58 -04:00
parent aaf9e0ce97
commit 9ac2fe47cf
6 changed files with 21 additions and 5 deletions
@@ -15,6 +15,7 @@
<article class="database-item-card" class:talent-card={item.variant === 'talent'}>
<header>
{#if item.renderUrl}<img class="database-item-render" src={item.renderUrl} alt="" loading="lazy"/>{/if}
<div class="database-item-icon">
{#if item.gameIcon}<GameIcon name={item.gameIcon} decorative/>{:else}<ItemIcon src={item.iconUrl} alt=""/>{/if}
</div>
+1
View File
@@ -17,6 +17,7 @@ export type DatabaseItem = {
kicker: string;
variant?: 'talent';
iconUrl?: string;
renderUrl?: string;
gameIcon?: GameIconName;
headerBadge?: string;
headerMetaIcon?: GameIconName;