Changed Error Page

This commit is contained in:
2025-09-13 17:14:50 +02:00
parent eea7937225
commit e60c0df77b

View File

@@ -7,11 +7,29 @@ const props = defineProps({
</script> </script>
<template> <template>
<div class="flex justify-center h-100 w-100"> <UCard class="w-1/2 mx-auto mt-10 text-center">
<div class="mt-20"> <template #header>
<h1 class="text-5xl text-center mb-3">Da ist etwas schief gelaufen</h1> <div class="text-center">
<UButton to="/">Zurück</UButton> <span class="text-xl text-center font-bold">Es gab ein Problem - {{error.statusCode}}</span>
</div> </div>
</template>
<UColorModeImage
light="/Logo.png"
dark="/Logo_Dark.png"
class="w-3/4 mx-auto "
/>
<UAccordion
class="mt-5"
:items="[{
label: 'Fehlerbeschreibung',
icon: 'i-heroicons-information-circle',
defaultOpen: false,
content: error
}]"
>
</div> </UAccordion>
<UButton to="/" class="mt-5">Zurück zur Startseite</UButton>
</UCard>
</template> </template>