Migrate: `/maintenance` page group (#13056)
This commit is contained in:
parent
aaeea250bc
commit
f186d2e41d
|
@ -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">;
|
|
@ -1,3 +1,5 @@
|
|||
"use client";
|
||||
|
||||
import Head from "next/head";
|
||||
|
||||
import { APP_NAME, WEBSITE_URL } from "@calcom/lib/constants";
|
||||
|
|
Loading…
Reference in New Issue
Block a user