"use client"; import Image from "next/image"; import { useTheme } from "next-themes"; // layouts import { Button } from "@plane/propel/button"; import { useAppRouter } from "@/hooks/use-app-router"; import DefaultLayout from "@/layouts/default-layout"; // images import maintenanceModeDarkModeImage from "@/public/instance/maintenance-mode-dark.svg"; import maintenanceModeLightModeImage from "@/public/instance/maintenance-mode-light.svg"; const linkMap = [ { key: "mail_to", label: "Contact Support", value: "mailto:support@plane.so", }, { key: "status", label: "Status Page", value: "https://status.plane.so/", }, { key: "twitter_handle", label: "@planepowers", value: "https://x.com/planepowers", }, ]; export default function CustomErrorComponent() { // hooks const { resolvedTheme } = useTheme(); const router = useAppRouter(); // derived values const maintenanceModeImage = resolvedTheme === "dark" ? maintenanceModeDarkModeImage : maintenanceModeLightModeImage; return (
ProjectSettingImg

🚧 Looks like something went wrong!

We track these errors automatically and working on getting things back up and running. If the problem persists feel free to contact us. In the meantime, try refreshing.
{linkMap.map((link) => (
{link.label}
))}
); }