Skip to content
Snippets Groups Projects
Commit ccae480c authored by Malin Haugland Høli's avatar Malin Haugland Høli
Browse files

style: :art: Ran npm format

parent 302fb8b2
No related branches found
No related tags found
3 merge requests!66Final merge,!51Update design on the application,!4Pipeline fix
Pipeline #283253 passed
......@@ -145,13 +145,14 @@ const helpMessages = computed(() => {
<template>
<HelpComponent v-if="showHelp" :speech="helpMessages" />
<div
class="min-h-screen bg-left-bottom bg-phone md:bg-pc bg-no-repeat"
:style="backgroundImageStyle">
class="min-h-screen bg-left-bottom bg-phone md:bg-pc bg-no-repeat"
:style="backgroundImageStyle"
>
<NavBarComponent v-if="showNavBar" />
<main class="mb-10 ">
<RouterView />
</main>
<main class="mb-10">
<RouterView />
</main>
</div>
</template>
......
<template>
<div class="fixed bottom-5 right-5 hover:cursor-pointer z-50" @click="isModalOpen = true">
<img
<img
alt="Hjelp"
class="h-10 transition-transform duration-300 ease-in-out hover:scale-110"
src="@/assets/hjelp.png"
......
......@@ -19,13 +19,11 @@ const bioLogin = () => {
<template>
<div class="flex flex-col items-center h-screen gap-5 my-10">
<h1>Hei {{ username }}, velkommen tilbake!💥</h1>
<button
class="primary"
@click="bioLogin">Biometrisk login</button>
<button class="primary" @click="bioLogin">Biometrisk login</button>
<p>Ikke deg? Eller funker ikke biometrisk innlogging?</p>
<button
class="primary"
@click="removeBioCredential">Logg inn med brukernavn og passord</button>
<button class="primary" @click="removeBioCredential">
Logg inn med brukernavn og passord
</button>
</div>
</template>
......
......@@ -115,7 +115,9 @@ onMounted(() => {
<p class="font-bold">Passe</p>
</CardTemplate>
<CardTemplate
:class="{ 'border-2 border-lime-400': configuration.motivation === 'VERY_HIGH' }"
:class="{
'border-2 border-lime-400': configuration.motivation === 'VERY_HIGH'
}"
class="cursor-pointer p-4 border-2"
@click="configuration.motivation = 'VERY_HIGH'"
>
......@@ -140,7 +142,9 @@ onMounted(() => {
<p class="font-bold">Noe kjent</p>
</CardTemplate>
<CardTemplate
:class="{ 'border-2 border-lime-400': configuration.experience === 'VERY_HIGH' }"
:class="{
'border-2 border-lime-400': configuration.experience === 'VERY_HIGH'
}"
class="cursor-pointer p-4 border-2"
@click="configuration.experience = 'VERY_HIGH'"
>
......@@ -164,9 +168,11 @@ onMounted(() => {
v-text="'x'"
/>
</CardTemplate>
<button
<button
class="font-bold text-2xl cursor-pointer transition-transform duration-300 ease-in-out hover:scale-110 hover:opacity-100 justify-start"
@click="createChallengeType" v-text="'Legg til flere📝'" />
@click="createChallengeType"
v-text="'Legg til flere📝'"
/>
</div>
<div class="flex flex-row justify-center gap-5">
......
......@@ -236,11 +236,7 @@ const saveChanges = async () => {
<div class="flex flex-row justify-between">
<button class="primary danger" @click="router.back()" v-text="'Avbryt'" />
<button
class="primary"
@click="saveChanges"
v-text="'Lagre endringer'"
/>
<button class="primary" @click="saveChanges" v-text="'Lagre endringer'" />
</div>
</div>
</div>
......
......@@ -99,17 +99,17 @@ const openSpare = () => {
/>
</CardTemplate>
<button
<button
class="primary secondary"
@click="router.push({ name: 'edit-profile' })" v-text="'Rediger bruker'" />
@click="router.push({ name: 'edit-profile' })"
v-text="'Rediger bruker'"
/>
<button
class="primary secondary"
@click="router.push({ name: 'edit-configuration' })"
v-text="'Rediger konfigurasjon'"
/>
<button
class="primary"
@click="updateBiometrics">
<button class="primary" @click="updateBiometrics">
{{ profile?.hasPasskey ? 'Endre biometri' : 'Legg til biometri' }}
</button>
</div>
......
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