Skip to content
/ web Public

Commit c407d83

Browse files
committed
chore: add competitive rank
1 parent 69a070e commit c407d83

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

components/PlayerElo.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ import { ChevronUpIcon } from "lucide-vue-next";
3232
<!-- Hover Content -->
3333
<HoverCardContent class="w-56">
3434
<div class="space-y-2 text-sm">
35+
<div class="flex items-center justify-between">
36+
<span :class="['text-muted-foreground']"> Competitive </span>
37+
38+
<span
39+
v-if="competitiveElo"
40+
class="font-mono font-semibold"
41+
:class="getEloColorClass(competitiveElo)"
42+
>
43+
{{ competitiveElo }}
44+
</span>
45+
<span v-else class="text-muted-foreground">—</span>
46+
</div>
47+
3548
<div class="flex items-center justify-between">
3649
<span :class="['text-muted-foreground']"> Duel </span>
3750

0 commit comments

Comments
 (0)