Skip to content

Commit

Permalink
add heat number
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter committed Jul 14, 2024
1 parent 8859576 commit 47f3f56
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/views/OnFloorWallLive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@
<span class="text-5xl">heat&nbsp;</span>
<span v-if="heatInfos" class="text-8xl font-bold">{{ heatInfos[0].HeatNumber }}</span>
</div>
<div
v-if="heatInfos"
class="text-5xl"
:class="{
'text-gray-500': theme !== 'dark',
'text-gray-400': theme === 'dark'
}"
>
#{{ heatInfos[0].EntryNumber ?? '3030' }}
</div>
</div>

<template v-if="heatInfos?.length === 1">
<div class="grid w-full grid-cols-[2fr_3fr] gap-6 items-center justify-around">
<img
Expand All @@ -37,7 +48,7 @@
Station {{ heatInfos[0].Station }} &mdash; {{ heatInfos[0].DivisionName }} {{ heatInfos[0].AgeGroupName?.replace(/\s?\(.*$/, '') }} {{ heatInfos[0].GenderName }}
</p>
<p class="pb-4">
#{{ heatInfos[0].EntryNumber }}: {{ heatInfos[0].Event }}
{{ heatInfos[0].Event }}
</p>
<div
class="font-bold"
Expand All @@ -61,9 +72,7 @@
{{ heatInfos[0].Part5 }}
</p>
</div>
<p class="">
{{ heatInfos[0].TeamCountryName }}
</p>
<p>{{ heatInfos[0].TeamCountryName }}</p>
</div>
</div>
</template>
Expand Down

0 comments on commit 47f3f56

Please sign in to comment.