diff options
Diffstat (limited to 'src/pages/404.page.vue')
-rw-r--r-- | src/pages/404.page.vue | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/src/pages/404.page.vue b/src/pages/404.page.vue index 87cbb0a..229f9a3 100644 --- a/src/pages/404.page.vue +++ b/src/pages/404.page.vue @@ -3,25 +3,31 @@ </script> <template> - <div class="e404-wrapper"> - <n-result - status="404" - title="404 Not Found" - description="Sorry, this page does not seem to extist" + <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 > - <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> + <n-button + tag="a" + :href="href" + secondary + type="success" + @click="navigate" + > + Back home + </n-button> + </router-link> + </template> + </n-result> + </div> </template> |