43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
/**
|
|
* Copyright (c) 2023-present Plane Software, Inc. and contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
* See the LICENSE file for details.
|
|
*/
|
|
|
|
export function MaintenanceMessage() {
|
|
const linkMap = [
|
|
{
|
|
key: "mail_to",
|
|
label: "Contact Support",
|
|
value: "mailto:support@plane.so",
|
|
},
|
|
];
|
|
|
|
return (
|
|
<>
|
|
<div className="flex flex-col gap-2.5">
|
|
<h1 className="text-18 font-semibold text-primary text-left">
|
|
🚧 Looks like Plane didn't start up correctly!
|
|
</h1>
|
|
<span className="text-14 font-medium text-secondary 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-accent-primary hover:underline text-13"
|
|
>
|
|
{link.label}
|
|
</a>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</>
|
|
);
|
|
}
|