2025-09-05 20:16:39 +05:30
|
|
|
export const MaintenanceMessage = () => {
|
|
|
|
|
const linkMap = [
|
|
|
|
|
{
|
|
|
|
|
key: "mail_to",
|
|
|
|
|
label: "Contact Support",
|
|
|
|
|
value: "mailto:support@plane.so",
|
|
|
|
|
},
|
|
|
|
|
];
|
2025-06-04 13:37:58 +05:30
|
|
|
|
|
|
|
|
return (
|
2025-09-05 20:16:39 +05:30
|
|
|
<>
|
|
|
|
|
<div className="flex flex-col gap-2.5">
|
|
|
|
|
<h1 className="text-xl font-semibold text-custom-text-100 text-left">
|
|
|
|
|
🚧 Looks like Plane didn't start up correctly!
|
|
|
|
|
</h1>
|
|
|
|
|
<span className="text-base font-medium text-custom-text-200 text-left">
|
|
|
|
|
Some services might have failed to start. Please check your container logs to identify and resolve the issue.
|
|
|
|
|
If you're stuck, reach out to our support team for more help.
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="flex items-center justify-start gap-6 mt-1">
|
|
|
|
|
{linkMap.map((link) => (
|
|
|
|
|
<div key={link.key}>
|
|
|
|
|
<a
|
|
|
|
|
href={link.value}
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
className="text-custom-primary-100 hover:underline text-sm"
|
|
|
|
|
>
|
|
|
|
|
{link.label}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
2025-06-04 13:37:58 +05:30
|
|
|
);
|
2025-09-05 20:16:39 +05:30
|
|
|
};
|