mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
3c884fd46e
* fix: implementing layouts in all pages * fix: layout fixes, implemting using standard nextjs parctice
16 lines
423 B
TypeScript
16 lines
423 B
TypeScript
import { ReactElement } from "react";
|
|
// layouts
|
|
import DefaultLayout from "layouts/default-layout";
|
|
// components
|
|
import { SignInView } from "components/page-views";
|
|
// type
|
|
import { NextPageWithLayout } from "types/app";
|
|
|
|
const HomePage: NextPageWithLayout = () => <SignInView />;
|
|
|
|
HomePage.getLayout = function getLayout(page: ReactElement) {
|
|
return <DefaultLayout>{page}</DefaultLayout>;
|
|
};
|
|
|
|
export default HomePage;
|