mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
24 lines
679 B
TypeScript
24 lines
679 B
TypeScript
import { ReactElement } from "react";
|
|
// components
|
|
import { SignUpView } from "@/components/page-views";
|
|
// helpers
|
|
import { EPageTypes } from "@/helpers/authentication.helper";
|
|
// layouts
|
|
import DefaultLayout from "@/layouts/default-layout";
|
|
// type
|
|
import { NextPageWithLayout } from "@/lib/types";
|
|
// wrappers
|
|
import { AuthenticationWrapper } from "@/lib/wrappers";
|
|
|
|
const HomePage: NextPageWithLayout = () => <SignUpView />;
|
|
|
|
HomePage.getLayout = function getLayout(page: ReactElement) {
|
|
return (
|
|
<DefaultLayout>
|
|
<AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>{page}</AuthenticationWrapper>
|
|
</DefaultLayout>
|
|
);
|
|
};
|
|
|
|
export default HomePage;
|