minor, add points and resultTF to rightbar

This commit is contained in:
NetMan 2025-04-16 20:19:26 +02:00
parent 05b2b81db7
commit 940a93c232
2 changed files with 8 additions and 2 deletions

View file

@ -77,7 +77,10 @@ const emit = defineEmits<{
"
/>
</div>
<div class="flex-1"></div>
<div class="flex-1">
<div class="*:inline">Punkty: <slot name="points" /> / 74</div>
<div class="*:inline">Wynik: <slot name="resultTrueFalse" /></div>
</div>
<NuxtLink to="/exam" class="btn btn-warning btn-xl">
Rozpocznij jeszcze raz
</NuxtLink>

View file

@ -115,7 +115,10 @@ function changeCount(num: number) {
:now="now"
@change-now="changeNow"
@change-count="changeCount"
/>
>
<template #points>{{ points }}</template>
<template #resultTrueFalse>{{ resultTrueFalse }}</template>
</BarRightResult>
</div>
</div>
</div>