[WEB-3931] chore: maintenance page ux copy (#7135)

* chore: maintenance ux copy translation added

* chore: maintenance ux copy updated

* chore: code refactor
This commit is contained in:
Anmol Singh Bhatia 2025-06-04 13:37:58 +05:30 committed by GitHub
parent 2e822b38e4
commit b2ccca0567
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 115 additions and 52 deletions

View file

@ -1,6 +1,17 @@
export const MaintenanceMessage = () => (
<h1 className="text-xl font-medium text-custom-text-100 text-center md:text-left">
Plane didn&apos;t start up. This could be because one or more Plane services failed to start. <br /> Choose View
Logs from setup.sh and Docker logs to be sure.
</h1>
);
import { observer } from "mobx-react";
import { useTranslation } from "@plane/i18n";
export const MaintenanceMessage = observer(() => {
// hooks
const { t } = useTranslation();
return (
<h1 className="text-xl font-medium text-custom-text-100 text-center md:text-left">
{t(
"self_hosted_maintenance_message.plane_didnt_start_up_this_could_be_because_one_or_more_plane_services_failed_to_start"
)}
<br />
{t("self_hosted_maintenance_message.choose_view_logs_from_setup_sh_and_docker_logs_to_be_sure")}
</h1>
);
});