Migrate: /maintenance page group (#13056)

This commit is contained in:
Benny Joo authored and GitHub committed 2024-01-10 23:58:38 -03:00
1 parent aaeea250bc
commit f186d2e41d
2 files changed
+16

No files matched your search

+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";