mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
Migration to Nuxt3
This commit is contained in:
28
error.vue
Normal file
28
error.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
|
||||
<div
|
||||
class="bg-gray-100 text-gray-900 min-h-screen h-full
|
||||
dark:bg-gray-900 dark:text-slate-50 flex justify-center items-center"
|
||||
style="font-family: 'Comfortaa'; overflow-x: hidden; ">
|
||||
|
||||
<div>
|
||||
<p class="text-2xl md:text-4xl text-center">{{ $t("wrong directions") }}</p>
|
||||
|
||||
<img src="~/assets/images/no-turn-street.png" class="mx-auto my-2" alt="">
|
||||
|
||||
<NuxtLink :to="localePath('/')"
|
||||
class="block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200">
|
||||
{{ $t("back to home") }}
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const localePath = useLocalePath();
|
||||
|
||||
onMounted(() => {
|
||||
applyTheme();
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user