fix: replace broke unicode triangle with svg

This commit is contained in:
2026-03-20 14:46:18 +07:00 Unverified
parent f3b0beb9f9
commit 6f8b8b6b6b
+14 -2
View File
@@ -241,8 +241,20 @@ export function card(app: App) {
{/* char and username */}
<div tw="text-[130%] pb-[.5%] flex items-center gap-[.5em]">
{char.avatar.name}
<div tw="text-[0.75em] opacity-80">
&nbsp;&nbsp;▴&nbsp;&nbsp; {data.playerInfo.nickname}
<div tw="text-[0.75em] opacity-80 flex items-center gap-[.4em]">
<svg
width="16"
height="16"
viewBox="0 0 100 100"
tw="mt-[.2em]"
>
<title>doritos</title>
<polygon
points="50,10 90,90 10,90"
fill="currentColor"
/>
</svg>
{data.playerInfo.nickname}
</div>
</div>
{/* level */}