Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { getTranslation } from "@/i18n/server";
import { isFeatureEnabled } from "@/lib/feature-flags/server";
import { CalendarPage } from "./calendar-page";
export default async function Page() {
if (!isFeatureEnabled("calendars")) {
notFound();
}
return <CalendarPage />;
}
export async function generateMetadata(): Promise<Metadata> {
const { t } = await getTranslation();
return {
title: t("calendar", {
defaultValue: "Calendar",
}),
};
}