Skip to content
Snippets Groups Projects
Commit 0762733b authored by Ina Martini's avatar Ina Martini
Browse files

fix: add InteractiveSpare

parent 0aacfad9
No related branches found
No related tags found
3 merge requests!66Final merge,!57General cleanup of application,!4Pipeline fix
......@@ -5,6 +5,7 @@ import ProgressBar from '@/components/ProgressBar.vue'
import authInterceptor from '@/services/authInterceptor'
import type { Challenge } from '@/types/challenge'
import ModalComponent from '@/components/ModalComponent.vue'
import InteractiveSpare from "@/components/InteractiveSpare.vue";
const router = useRouter()
......@@ -154,7 +155,7 @@ const confirmCancel = () => {
</script>
<template>
<div class="flex flex-col justify-center items-center">
<div class="flex md:flex-row flex-col justify-center md:items-start items-center">
<h1 class="font-bold" v-text="pageTitle" />
<div class="flex flex-col gap-5 items-center justify-center">
<div class="flex flex-col">
......@@ -269,6 +270,13 @@ const confirmCancel = () => {
</template>
</ModalComponent>
</div>
<div class="md:w-1/4 mt-10 p-5">
<InteractiveSpare
:png-size="10"
:speech="['Her kan du lage en utfordring!', `Trenger du hjelp? Trykk på ❓ nede i høyre hjørne!`]"
direction="left"
/>
</div>
</div>
</template>
......
......@@ -5,6 +5,7 @@ import type { Goal } from '@/types/goal'
import ProgressBar from '@/components/ProgressBar.vue'
import authInterceptor from '@/services/authInterceptor'
import ModalComponent from '@/components/ModalComponent.vue'
import InteractiveSpare from '@/components/InteractiveSpare.vue'
const router = useRouter()
......@@ -163,7 +164,7 @@ const confirmCancel = () => {
</script>
<template>
<div class="flex flex-col justify-center items-center">
<div class="flex md:flex-row flex-col justify-center md:items-start items-center">
<h1 class="font-bold" v-text="pageTitle" />
<div class="flex flex-col gap-5 items-center justify-center">
<div class="flex flex-col">
......@@ -271,6 +272,13 @@ const confirmCancel = () => {
</template>
</ModalComponent>
</div>
<div class="md:w-1/4 mt-10 p-5">
<InteractiveSpare
:png-size="10"
:speech="['Her kan du lage et sparemål!', `Trenger du hjelp? Trykk på ❓ nede i høyre hjørne!`]"
direction="left"
/>
</div>
</div>
</template>
......
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