Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/ServiceRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ export class ServiceRow extends Component {
> = {
[ServiceStatus.OPERATIONAL]: {
color: "fill-emerald-400",
bar: "bg-emerald-400",
bar: "bg-emerald-500",
label: "Operational",
icon:
`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"></path>`,
},
[ServiceStatus.UNDER_MAINTENANCE]: {
color: "fill-indigo-400",
bar: "bg-indigo-400",
bar: "bg-blue-400",
label: "Under Maintenance",
icon:
`<path d="M128 24a104 104 0 1 0 104 104A104.13 104.13 0 0 0 128 24m14.052 54.734a34.2 34.2 0 0 1 9.427 1.006 3.79 3.79 0 0 1 1.865 6.25l-17.76 19.265 2.682 12.485 12.484 2.677 19.266-17.782a3.79 3.79 0 0 1 6.25 1.865 34.4 34.4 0 0 1 1.02 8.333 34.122 34.122 0 0 1-47.833 31.282l-24.672 28.536a4 4 0 0 1-.187.203 15.168 15.168 0 0 1-21.448-21.453q.098-.095.203-.182l28.542-24.667a34.155 34.155 0 0 1 30.161-47.818" />`,
},
[ServiceStatus.DEGRADED_PERFORMANCE]: {
color: "fill-yellow-400",
bar: "bg-yellow-400",
color: "fill-amber-400",
bar: "bg-amber-400",
label: "Degraded Performance",
icon:
`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"></path>`,
Expand Down
12 changes: 6 additions & 6 deletions src/components/StatusOverview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export class StatusOverview extends Component {
message: (s) => `${s.name} under maintenance`,
},
[MainStatus.ONE_DEGRADED_PERFORMANCE]: {
bg: "bg-yellow-400/5 ring-yellow-400/5",
color: "fill-yellow-400",
bg: "bg-amber-400/5 ring-amber-400/5",
color: "fill-amber-400",
icon:
`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"></path>`,
message: (s) => `${s.name} experiencing degraded performance`,
Expand All @@ -56,8 +56,8 @@ export class StatusOverview extends Component {
message: "System under maintenance",
},
[MainStatus.SOME_DEGRADED_PERFORMANCE]: {
bg: "bg-yellow-400/5 ring-yellow-400/5",
color: "fill-yellow-400",
bg: "bg-amber-400/5 ring-amber-400/5",
color: "fill-amber-400",
icon:
`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"></path>`,
message: "Experiencing partially degraded performance",
Expand All @@ -84,8 +84,8 @@ export class StatusOverview extends Component {
message: "Under maintenance",
},
[MainStatus.ALL_DEGRADED_PERFORMANCE]: {
bg: "bg-yellow-400/5 ring-yellow-400/5",
color: "fill-yellow-400",
bg: "bg-amber-400/5 ring-amber-400/5",
color: "fill-amber-400",
icon:
`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"></path>`,
message: "Experiencing degraded performance",
Expand Down