NODEDC_TASKMANAGER/plane-src/apps/web/ce/components/instance/maintenance-message.tsx

42 lines
1.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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: "Служба поддержки",
value: "https://nodedc.dctouch.ru/",
},
];
return (
<>
<div className="flex flex-col gap-2.5">
<h1 className="text-left text-18 font-semibold text-primary">&#x1F6A7; NODE.DC запустился с ошибкой.</h1>
<span className="text-left text-14 font-medium text-secondary">
Часть сервисов могла не подняться. Проверьте логи контейнеров и устраните причину. Если нужна помощь,
переходите в службу поддержки.
</span>
</div>
<div className="mt-1 flex items-center justify-start gap-6">
{linkMap.map((link) => (
<div key={link.key}>
<a
href={link.value}
target="_blank"
rel="noopener noreferrer"
className="nodedc-error-link text-13"
>
{link.label}
</a>
</div>
))}
</div>
</>
);
}