Migrate: /maintenance page group (#13056)

This commit is contained in:
Benny Joo
2024-01-10 23:58:38 -03:00
committed by GitHub
parent aaeea250bc
commit f186d2e41d
2 changed files with 16 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import LegacyPage from "@pages/maintenance";
import { _generateMetadata } from "app/_utils";
import { WithLayout } from "app/layoutHOC";
import { APP_NAME } from "@calcom/lib/constants";
export const generateMetadata = async () =>
await _generateMetadata(
(t) => `${t("under_maintenance")} | ${APP_NAME}`,
(t) => t("under_maintenance_description", { appName: APP_NAME })
);
// @ts-expect-error Page type
export default WithLayout({ getLayout: null, Page: LegacyPage })<"P">;
+2
View File
@@ -1,3 +1,5 @@
"use client";
import Head from "next/head";
import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants";