Error page styling

This commit is contained in:
2025-10-14 19:44:49 +02:00
parent d2955b3a9a
commit 7f9d182cc3

View File

@@ -1,9 +1,8 @@
<template> <template>
<UPageBody> <UPageBody>
<UPageHero :title="error?.statusCode ?? 'Error'"> <UPageHero :title="String(error?.statusCode) ?? 'Error'" :description="error?.message">
<p>{{ error?.message }}</p> <UButton to="/" class="w-fit place-self-center">Go back home</UButton>
<NuxtLink to="/">Go back home</NuxtLink> <NuxtLink to="https://github.com/C9Glax/tranga-website/issues/new" class="w-fit place-self-center hover:underline"><Icon name="i-lucide-github" class="mr-2" />Report this issue</NuxtLink>
<NuxtLink to="https://github.com/C9Glax/tranga-website/issues/new"><Icon name="i-lucide-github" />Report this issue</NuxtLink>
</UPageHero> </UPageHero>
</UPageBody> </UPageBody>
</template> </template>