Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
import { buttonVariants } from "@rallly/ui";
import { ErrorPage } from "@/components/error-page";
import { Link } from "@/components/link";
import { DefaultLogo } from "@/features/branding/components/default-logo";
import { getTranslation } from "@/i18n/server";
export default async function MaintenancePage({
params,
}: {
params: Promise<{ locale: string }>;
}) {
const { locale } = await params;
const { t } = await getTranslation(locale);
return (
<ErrorPage
logo={<DefaultLogo />}
label={t("maintenanceLabel", { defaultValue: "Maintenance" })}
title={t("maintenanceTitle", { defaultValue: "Be right back" })}
description={t("maintenanceDescription", {
defaultValue:
"We're performing scheduled maintenance. We'll be back online shortly.",
})}
actions={
<Link
href="/"
className={buttonVariants({ size: "lg", variant: "primary" })}
>
{t("maintenanceTryAgain", { defaultValue: "Try again" })}
</Link>
}
>
{null}
</ErrorPage>
);
}