22 lines
605 B
Vue
22 lines
605 B
Vue
<script setup lang="ts">
|
|
import { CircleQuestionMarkIcon } from "@lucide/vue";
|
|
import { onBeforeMount } from "vue";
|
|
import { onBeforeRouteUpdate } from "vue-router";
|
|
|
|
function updateTitle() {
|
|
document.title = 'Tout Doux - Not Found';
|
|
}
|
|
|
|
onBeforeMount(updateTitle)
|
|
onBeforeRouteUpdate(updateTitle);
|
|
</script>
|
|
|
|
<template>
|
|
<div class="italic text-xl font-extralight mb-4">
|
|
<circle-question-mark-icon class="inline" /> {{ $t('not_found') }}
|
|
</div>
|
|
<div class="w-full">
|
|
<router-link to="/" class="btn mb-4 px-4">{{ $t('not_found_button') }}</router-link>
|
|
</div>
|
|
</template>
|