Skip to content
Snippets Groups Projects
Commit ca8a81a0 authored by Trygve Jørgensen's avatar Trygve Jørgensen
Browse files

chore: button style

parent f8904d0d
No related branches found
No related tags found
2 merge requests!66Final merge,!62WCAG fixes
......@@ -7,8 +7,8 @@
<img alt="bioAuthFace" class="w-40 h-40" src="@/assets/bioAuthFace.png" />
</div>
<div class="flex flex-col gap-6">
<button class="font-bold mt-10" @click="bioRegister">Legg til nå!</button>
<button class="font-bold" @click="router.push({ name: 'configurations1' })">
<button class="primary" @click="bioRegister">Legg til nå!</button>
<button class="primary secondary" @click="router.push({ name: 'configurations1' })">
Jeg gjør det senere
</button>
</div>
......@@ -28,9 +28,9 @@ const bioError = ref<boolean>(false)
const bioRegister = async () => {
const result = await userStore.bioRegister()
if (result === true) {
if (result == true) {
await router.push({ name: 'configurations1' })
} else if (result === false) {
} else if (result == false) {
bioError.value = true
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment