mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
19 lines
556 B
Vue
19 lines
556 B
Vue
<template>
|
|
<UPageBody>
|
|
<UPageHero :title="error?.statusCode ?? 'Error'">
|
|
<p>{{ error?.message }}</p>
|
|
<NuxtLink to="/">Go back home</NuxtLink>
|
|
<NuxtLink to="https://github.com/C9Glax/tranga-website/issues/new"><Icon name="i-lucide-github" />Report this issue</NuxtLink>
|
|
</UPageHero>
|
|
</UPageBody>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type { NuxtError } from '#app';
|
|
|
|
defineProps({
|
|
// eslint-disable-next-line vue/require-default-prop
|
|
error: Object as () => NuxtError,
|
|
});
|
|
</script>
|