Skip to content

Commit 15206c6

Browse files
PB-1969 Status page: Add templates
This is to make it easier for the person working on the incident repsonse to choose the right wording. I also changed the danger icon from a red cross (❌) to an alarm light (🚨). A red cross is rather use for a build error while the police light better reflects the urgency of the situation.
1 parent 30c00ea commit 15206c6

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

β€Žpage/status-page.mdβ€Ž

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
1-
---
2-
# Use the following variables to set the Current Status section in this page and the homepage preview
3-
# Set `type` to control the position and color of the homepage preview:
4-
# - "info": bottom of the page, no color
5-
# - "warning": top of the page, yellow
6-
# - "danger": top of the page, red
7-
# The `title` is not displayed in the homepage preview for 'info' type
1+
---
82
type: "info"
93
title: "All Systems Operational"
104
content: "No ongoing incidents - all services are functioning as expected."
115

126
outline: [2, 3]
137
---
8+
<!---
9+
Templates:
10+
11+
βœ… Normal status: Status info is at the bottom of the start page
12+
13+
type: "info"
14+
title: "All Systems Operational"
15+
content: "No ongoing incidents - all services are functioning as expected."
16+
17+
⚠️ Minor incident: Status info as a yellow banner at the top of the start page
18+
19+
type: "warning"
20+
title: "Minor incident"
21+
content: "We are currently investigating degraded performance in [Service XY]. Some users may experience intermittent issues. Updates will be posted as more information becomes available."
22+
23+
🚨 Major incident: Status info as a red banner at the top of the start page
1424
25+
type: "danger"
26+
title: "Major incident"
27+
content: "We are experiencing a significant outage affecting [Service XY]. All hands are on deck to diagnose and resolve the issue. The next update will be posted at XX:XX or as significant progress is made."
28+
--->
1529
# Status Page
1630

1731
This page provides the latest status updates for all *.geo.admin.ch web services, including ongoing incidents and a history of past events.
@@ -22,7 +36,7 @@ This page provides the latest status updates for all *.geo.admin.ch web services
2236
{
2337
'info': 'βœ…',
2438
'warning': '⚠️',
25-
'danger': '❌'
39+
'danger': '🚨'
2640
}[$frontmatter.type] || ''
2741
}} **{{ $frontmatter.title }}**: {{ $frontmatter.content }}
2842

0 commit comments

Comments
Β (0)