Upcoming and active maintenance (#142)
* Updated with intial commit - MaintenanceAlert.tsx now handles upcoming and active maintenance alerts. - OverallStatus.tsx updated to include collapsible sections for ongoing and upcoming maintenance alerts. * Updated MaintenanceAlert layout for better responsiveness * Revert the uptime.config.ts * fix: Added type definitions for active and upcoming maintenances * Update components/MaintenanceAlert.tsx Co-authored-by: Bennet Gallein <[email protected]> * Update: added `pageConfig.maintenances.upcomingColor` to control upcoming maintenance alert colors. * Feature: Added a config option for the favicon. * keep original styles * remove collapse * add back a different collapse for upcoming events * css grid to align date text * tiny css changes and cleanup --------- Co-authored-by: Bennet Gallein <[email protected]> Co-authored-by: lyc8503 <[email protected]>
This commit is contained in:
6 files changed
+87
-16
No files matched your search
@@ -16,6 +16,14 @@ const pageConfig: PageConfig = {
|
||||
'🌐 Public (example group name)': ['foo_monitor', 'bar_monitor', 'more monitor ids...'],
|
||||
'🔐 Private': ['test_tcp_monitor'],
|
||||
},
|
||||
// [OPTIONAL] Set the path to your favicon, default to '/favicon.ico' if not specified
|
||||
favicon: '/favicon.ico',
|
||||
// [OPTIONAL] Maintenance related settings
|
||||
maintenances: {
|
||||
// [OPTIONAL] The color of upcoming maintenance alerts, default to 'gray'
|
||||
// Active alerts will always use the color specified in the MaintenanceConfig
|
||||
upcomingColor: 'gray',
|
||||
},
|
||||
}
|
||||
|
||||
const workerConfig: WorkerConfig = {
|
||||
|
||||
Reference in new issue
Block a user