chore: app router - /getting-started page (#18185)
* remove env vars * move pages to /app * remove Head component * remove pages router * add to config matcher * fix
This commit is contained in:
1 parent
e6a7ae7da3
commit
f78fca594a
8 files changed
+1
-22
No files matched your search
@@ -1,24 +0,0 @@
|
||||
import { withAppDirSsr } from "app/WithAppDirSsr";
|
||||
import { _generateMetadata } from "app/_utils";
|
||||
import { WithLayout } from "app/layoutHOC";
|
||||
|
||||
import { APP_NAME } from "@calcom/lib/constants";
|
||||
|
||||
import { getServerSideProps } from "@lib/getting-started/[[...step]]/getServerSideProps";
|
||||
|
||||
import type { PageProps } from "~/getting-started/[[...step]]/onboarding-view";
|
||||
import Page from "~/getting-started/[[...step]]/onboarding-view";
|
||||
|
||||
export const generateMetadata = async () => {
|
||||
return await _generateMetadata(
|
||||
(t) => `${APP_NAME} - ${t("getting_started")}`,
|
||||
() => "",
|
||||
true
|
||||
);
|
||||
};
|
||||
|
||||
export default WithLayout({
|
||||
getLayout: null,
|
||||
getData: withAppDirSsr<PageProps>(getServerSideProps),
|
||||
Page,
|
||||
});
|
||||
Reference in new issue
Block a user