refacto task not found
This commit is contained in:
20
src/modules/task/components/TaskNotFound.vue
Normal file
20
src/modules/task/components/TaskNotFound.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div class="no-task-found">
|
||||
<p>Task not found.</p>
|
||||
<router-link :to="{ name: 'home' }" class="button">
|
||||
<img src="/icons/left.svg" alt="left arrow" />
|
||||
go to homepage</router-link
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.no-task-found {
|
||||
margin: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user