2026-08-25 11:42:17 +02:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import type { NuxtError } from '#app'
|
|
|
|
|
|
|
|
|
|
const props = defineProps<{ error: NuxtError }>()
|
|
|
|
|
|
|
|
|
|
const isNotFound = computed(() => props.error.statusCode === 404)
|
|
|
|
|
|
2026-08-25 14:23:09 +02:00
|
|
|
useHead(useLocaleHead())
|
2026-08-25 11:42:17 +02:00
|
|
|
useSeoMeta({ robots: 'noindex' })
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<NuxtLayout>
|
2026-08-25 14:23:09 +02:00
|
|
|
<h1>{{ isNotFound ? $t('error.notFoundTitle') : $t('error.genericTitle') }}</h1>
|
2026-08-25 11:42:17 +02:00
|
|
|
|
|
|
|
|
<p class="muted">
|
2026-08-25 14:23:09 +02:00
|
|
|
{{ isNotFound ? $t('error.notFoundBody') : $t('error.genericBody') }}
|
2026-08-25 11:42:17 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p>
|
2026-08-25 14:23:09 +02:00
|
|
|
<NuxtLinkLocale to="/">{{ $t('error.backHome') }}</NuxtLinkLocale>
|
2026-08-25 11:42:17 +02:00
|
|
|
</p>
|
|
|
|
|
</NuxtLayout>
|
|
|
|
|
</template>
|