Layout
AppStatusScreen
The full-screen layout of error, maintenance and coming soon pages: a brand panel and a content column.
components/layout/AppStatusScreen.vue
View in the demo
It fills the whole screen, so open the demo: /error/403, /error/404, /error/500, /maintenance and /coming-soon all use it.
<AppStatusScreen
code="404"
:tagline="$t('status.notFound.tagline')"
detail="GET /missing-page"
color="secondary"
>
<BaseButton button-type="primary" to="/">{{ $t('status.home') }}</BaseButton>
<template #footer>…</template>
</AppStatusScreen>
From lg (1145px) the left side is a sticky AppBrandPanel: the code or headline set giant over your logo mark drifting in the background, with the tagline and the detail line in the footer strip. Below lg the same panel becomes a compact band at the top (variant="band") that also holds the language and theme controls, with the content column underneath aligned to the top.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
code | string | — | A big status code, such as 404. |
headline | string | — | A headline instead of a code, for maintenance or coming soon. |
tagline | string | — | A sentence under it. |
detail | string | — | A small monospace line, such as the request. |
color | StatusTone | "primary" | primary, secondary, error or accent for the panel. |
Slots
Name | Slot props | Description |
|---|---|---|
#default | — | The content column. |
#footer | — | Links at the bottom. |