Add the popn icons

This commit is contained in:
zkldi
2022-02-09 02:56:33 +00:00
parent e6d872e1b6
commit 3cb0367e54
@@ -1,6 +1,7 @@
import Muted from "components/util/Muted";
import React from "react";
import { GetGamePTConfig, PBScoreDocument, ScoreDocument } from "tachi-common";
import { ToCDNURL } from "util/api";
import { ChangeOpacity } from "util/color-opacity";
export default function PopnLampCell({
@@ -18,9 +19,14 @@ export default function PopnLampCell({
>
<strong>{score.scoreData.lamp}</strong>
<br />
<Muted>
TEMPORARY SCT STUFF: {score.scoreData.hitMeta.specificClearType ?? "Unknown"}
</Muted>
{score.scoreData.hitMeta.specificClearType && (
<img
style={{
maxWidth: "32px",
}}
src={ToCDNURL(`/misc/popn/${score.scoreData.hitMeta.specificClearType}.png`)}
/>
)}
</td>
);
}