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:
authored and GitHub committed 2025-09-27 21:30:13 +08:00
1 parent 4bf07257f2
commit f88e286b9c
6 files changed
+87 -16

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ export default function Home({
<>
<Head>
<title>{pageConfig.title}</title>
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href={pageConfig.favicon ?? '/favicon.ico'} />
</Head>
<main className={inter.className}>