+ {/* Components */}
+
+
+
Components
+
+
+ {statusData?.components?.map((component) => (
+
+
+
{component.name}
+
{component.description}
+
+
+ {component.latency && (
+
{component.latency}ms
+ )}
+
+
+
+ {STATUS_TEXT[component.status]}
+
+
+
+
+ ))}
+
+
+
+ {/* Active Incidents */}
+ {statusData?.incidents && statusData.incidents.length > 0 && (
+
+
+
Active Incidents
+
+
+ {statusData.incidents.map((incident) => (
+
+
+
+
{incident.title}
+
+
+ {incident.status.charAt(0).toUpperCase() + incident.status.slice(1)}
+
+
+ {incident.impact.charAt(0).toUpperCase() + incident.impact.slice(1)} Impact
+
+
+
+
+ {new Date(incident.updatedAt).toLocaleString()}
+
+
+
{incident.description}
+ {incident.updates && incident.updates.length > 0 && (
+
+
Updates
+
+ {incident.updates.map((update, idx) => (
+
+
+ {new Date(update.timestamp).toLocaleString()} -{' '}
+
+ {update.message}
+
+ ))}
+
+
+ )}
+
+ ))}
+
+
+ )}
+
+ {/* Scheduled Maintenance */}
+ {statusData?.maintenance && statusData.maintenance.length > 0 && (
+
+
+
Scheduled Maintenance
+
+
+ {statusData.maintenance.map((maintenance) => (
+
+
+
+
{maintenance.title}
+
+ {new Date(maintenance.scheduledStart).toLocaleString()} -{' '}
+ {new Date(maintenance.scheduledEnd).toLocaleString()}
+
+
+
+ {new Date(maintenance.createdAt).toLocaleString()}
+
+
+
{maintenance.description}
+
+ {maintenance.components.map((comp) => (
+
+ {comp}
+
+ ))}
+
+
+ ))}
+
+
+ )}
+
+ {/* Subscribe */}
+
+
Subscribe to Updates
+
+ Get notified about incidents and maintenance windows via email.
+
+
+ {subscribeMessage && (
+
+ {subscribeMessage.message}
+
+ )}
+
+
+ {/* Footer */}
+
+
Last updated: {statusData?.lastUpdated ? new Date(statusData.lastUpdated).toLocaleString() : 'N/A'}
+
Page refreshes automatically every 30 seconds
+
+