Status page
Service status page at /status — enable via publier.config.yaml, customize with the StatusIndicator component.
The status standard page provides a service status view at /status. Enable it in publier.config.yaml, then add src/pages/status.astro to display your actual service states using the StatusIndicator component from @publier/shell.
Enable / disable
pages: status: true # false to suppress /statusAdding a status page
Create src/pages/status.astro to display real service states:
---import { StatusIndicator } from '@publier/shell/components';import BaseLayout from '@publier/shell/layouts/base-layout.astro';---
<BaseLayout title="Status — My Company"> <main class="max-w-3xl mx-auto my-12 px-6 prose"> <h1>Service status</h1> <ul> <li><StatusIndicator status="operational" service="API" /></li> <li><StatusIndicator status="operational" service="Dashboard" /></li> <li><StatusIndicator status="degraded" service="Search" /></li> <li><StatusIndicator status="maintenance" service="Build pipeline" /></li> </ul> </main></BaseLayout>StatusIndicator quick reference
| Prop | Type | Default | Description |
|---|---|---|---|
status | 'operational' | 'degraded' | 'outage' | 'maintenance' | required | Semantic status level. |
service | string | undefined | Optional service name shown before the label. |
label | string | auto | Override the default label text per status. |
Default labels: operational → Operational, degraded → Degraded performance, outage → Major outage, maintenance → Under maintenance.
See StatusIndicator for the full prop and behaviour reference.