Compare commits

..

No commits in common. "940a93c232622182c8cadd7eebe45dfeccbbe2f8" and "a180381f991390ecdc42c99f0b70a57113c683de" have entirely different histories.

5 changed files with 2880 additions and 1365 deletions

View file

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

View file

@ -22,17 +22,17 @@ const answer = defineModel<string | null | undefined>();
v-model="answer"
type="radio"
name="tak_nie"
:value="value.toString()"
:value="value"
class="btn btn-primary btn-xl"
:aria-label="element"
:class="
answer == null
? false
: answer === value.toString()
: answer === value?.toString()
? '!btn-secondary'
: ''
"
:checked="answer == null ? false : answer === value.toString()"
:checked="answer == null ? false : answer === value?.toString()"
/>
</div>
</div>

View file

@ -15,17 +15,15 @@
},
"dependencies": {
"@nuxt/fonts": "0.11.1",
"@nuxtjs/tailwindcss": "6.13.2",
"@nuxtjs/tailwindcss": "6.13.1",
"@pinia/nuxt": "0.11.0",
"array-shuffle": "^3.0.0",
"daisyui": "^5.0.20",
"date-fns": "^4.1.0",
"dotenv": "^16.5.0",
"drizzle-kit": "^0.31.0",
"drizzle-orm": "^0.42.0",
"eslint": "^9.24.0",
"lodash": "^4.17.21",
"nuxt": "~3.16.2",
"nuxt": "~3.15.4",
"pg": "^8.14.1",
"pinia": "^3.0.2",
"vue": "latest",
@ -33,9 +31,11 @@
},
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
"devDependencies": {
"array-shuffle": "^3.0.0",
"@nuxt/eslint": "1.3.0",
"@types/lodash": "^4.17.16",
"@types/pg": "^8.11.13",
"drizzle-kit": "^0.30.5",
"eslint-config-prettier": "^10.1.2",
"prettier": "^3.5.3",
"tsx": "^4.19.3",

View file

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

4221
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff