feat: add error boundary component and improve auth layout

This commit is contained in:
2026-02-21 14:04:01 +01:00
parent 619d84383f
commit f49326f8df
3 changed files with 57 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
<script setup lang="ts">
import ErrorBoundary from '@/components/common/ErrorBoundary.vue'
import Logo from '@/components/common/Logo.vue'
</script>
@@ -9,11 +10,13 @@ import Logo from '@/components/common/Logo.vue'
<UPageCard :ui="{ wrapper: 'flex flex-col flex-1 items-center', header: 'mb-4' }">
<template #header>
<slot name="logo">
<Logo />
<Logo size="lg" :link-to-home="false" />
</slot>
</template>
<slot />
<ErrorBoundary>
<slot />
</ErrorBoundary>
</UPageCard>
</div>
</div>