feat: page title

This commit is contained in:
2026-04-24 23:43:08 +02:00
parent 8bec21c12d
commit 9bae3a813d
11 changed files with 50 additions and 24 deletions
+10 -2
View File
@@ -1,9 +1,17 @@
<script setup lang="ts"></script>
<script setup lang="ts">
import { TITLE } from '@/lib/meta'
import PageFooter from '@components/PageFooter.vue'
import { onBeforeMount } from 'vue'
onBeforeMount(() => {
window.document.title = TITLE + ' — Not Found'
})
</script>
<template>
<main>
<h1>Page not found</h1>
<RouterLink to="/">Back to home</RouterLink>
<PageFooter />
</main>
</template>