342 unmodified lines
Expand all
)}
</For>
</div>
<Show when={props.profile?.stats && props.profile.stats.length > 0 && props.profile.stats.every((s: string) => s.length > 0)}>
<Show when={props.profile?.stats && props.profile.stats.length > 0}>
<div class="flex items-center justify-evenly gap-2 py-2">
<For each={props.profile.stats}>
{(statKind) => (
<Show when={statKind.length > 0}>
<div class="flex flex-col items-center gap-2">
<span class="text-xl font-bold">{getStatValue(statKind)}</span>
<span>{formatStatLabel(statKind)}</span>
</div>
<div class="flex flex-col items-center gap-2">
<span class="text-xl font-bold">{getStatValue(statKind)}</span>
<span>{formatStatLabel(statKind)}</span>
</div>
</Show>
)}
</For>
</div>
</Show>
1074 unmodified lines
Expand all