24 lines
621 B
Vue
24 lines
621 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 mt-4">
|
|
<circle-question-mark-icon class="inline" /> {{ $t("not_found") }}
|
|
</div>
|
|
<div class="w-full mt-4">
|
|
<router-link to="/" class="btn">{{
|
|
$t("not_found_button")
|
|
}}</router-link>
|
|
</div>
|
|
</template>
|