2023-12-04 06:41:36 +00:00
|
|
|
import { ReactElement } from "react";
|
2022-12-16 16:20:09 +00:00
|
|
|
// layouts
|
2023-12-04 06:41:36 +00:00
|
|
|
import { AppLayout } from "layouts/app-layout";
|
2022-12-22 16:19:46 +00:00
|
|
|
// components
|
2023-12-04 06:41:36 +00:00
|
|
|
import { ModulesListView } from "components/modules";
|
|
|
|
import { ModulesListHeader } from "components/headers";
|
2022-12-16 16:20:09 +00:00
|
|
|
// types
|
2023-12-04 06:41:36 +00:00
|
|
|
import { NextPageWithLayout } from "types/app";
|
2023-08-28 07:55:47 +00:00
|
|
|
|
2023-12-04 06:41:36 +00:00
|
|
|
const ProjectModulesPage: NextPageWithLayout = () => <ModulesListView />;
|
2023-02-21 07:15:04 +00:00
|
|
|
|
2023-12-04 06:41:36 +00:00
|
|
|
ProjectModulesPage.getLayout = function getLayout(page: ReactElement) {
|
2022-12-16 16:20:09 +00:00
|
|
|
return (
|
2023-12-04 06:41:36 +00:00
|
|
|
<AppLayout header={<ModulesListHeader />} withProjectWrapper>
|
|
|
|
{page}
|
|
|
|
</AppLayout>
|
2022-12-16 16:20:09 +00:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
2023-12-04 06:41:36 +00:00
|
|
|
export default ProjectModulesPage;
|