aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-04-05 17:40:35 +0200
committerGravatar Corentin Thomasset <corentin.thomasset74@gmail.com> 2022-04-05 17:40:35 +0200
commit3db4f91c27a2ab37bb23d8feb77b6dffa9a92977 (patch)
tree9a389244652bb3bd788ca53670c41bf53d6d778b /src/pages
parent655019cf23babcec2a2f1e03cac87744e3139304 (diff)
downloadit-tools-3db4f91c27a2ab37bb23d8feb77b6dffa9a92977.tar.gz
it-tools-3db4f91c27a2ab37bb23d8feb77b6dffa9a92977.tar.zst
it-tools-3db4f91c27a2ab37bb23d8feb77b6dffa9a92977.zip
feat(page): added 404 page
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/404.page.vue32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/pages/404.page.vue b/src/pages/404.page.vue
new file mode 100644
index 0000000..87cbb0a
--- /dev/null
+++ b/src/pages/404.page.vue
@@ -0,0 +1,32 @@
+<script setup lang="ts">
+
+</script>
+
+<template>
+ <div class="e404-wrapper">
+ <n-result
+ status="404"
+ title="404 Not Found"
+ description="Sorry, this page does not seem to extist"
+ >
+ <template #footer>
+ <router-link to="/" #="{ navigate, href }" custom>
+ <n-button
+ tag="a"
+ :href="href"
+ secondary
+ @click="navigate"
+ type="success"
+ >Back home</n-button>
+ </router-link>
+ </template>
+ </n-result>
+ </div>
+</template>
+
+
+<style scoped>
+.e404-wrapper {
+ padding-top: 150px;
+}
+</style> \ No newline at end of file