add left icon

This commit is contained in:
Julien Calixte
2023-04-19 23:57:22 +02:00
parent 2f982a4b3a
commit bb6c425f32
2 changed files with 7 additions and 1 deletions

4
public/icons/left.svg Normal file
View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-chevron-left" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="#4d70cb" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<polyline points="15 6 9 12 15 18" />
</svg>

After

Width:  |  Height:  |  Size: 327 B

View File

@@ -39,7 +39,9 @@ const isSuperiorToEstimation = computed(() => {
<template> <template>
<main class="task-record" v-if="task"> <main class="task-record" v-if="task">
<h1 class="title"> <h1 class="title">
<button @click="$router.go(-1)" class="button is-white"></button> <button @click="$router.go(-1)" class="button is-white">
<img src="/icons/left.svg" alt="go back" />
</button>
{{ task.title }} {{ task.title }}
</h1> </h1>
<h2 class="subtitle" v-if="record"> <h2 class="subtitle" v-if="record">