Files
speckle-server/packages/frontend-2/error.vue
T
Kristaps Fabians Geikins c67f6d9c92 feat: clearer email verification flow & related error messages (#1904)
* fix: fe2 auth error page + various minor UI bugs

* clean up & reporting failing email to fe

* new mutation to resend verification as guest

* email text updates

* fixing issues brought up by agi

* more text fixes

* swapping out space-XXX for gap-XXX
2023-12-15 13:09:26 +02:00

29 lines
667 B
Vue

<!-- eslint-disable vue/no-v-html -->
<template>
<div id="speckle" class="bg-foundation-page text-foreground">
<NuxtLayout name="default">
<ErrorPageRenderer :error="error" />
</NuxtLayout>
<SingletonManagers />
</div>
</template>
<script setup lang="ts">
import type { NuxtError } from '#app'
/**
* Any errors thrown while rendering this page will cause Nuxt to revert to the default
* error page
*/
const props = defineProps<{
error: NuxtError
}>()
useHead({
title: computed(() => `${props.error.statusCode} - ${props.error.message}`),
bodyAttrs: {
class: 'simple-scrollbar bg-foundation-page text-foreground'
}
})
</script>