2023-11-02 18:27:44 +00:00
|
|
|
import { ReactElement } from "react";
|
2022-12-16 16:20:09 +00:00
|
|
|
// layouts
|
2023-10-17 07:16:38 +00:00
|
|
|
import { AppLayout } from "layouts/app-layout";
|
2022-12-22 16:19:46 +00:00
|
|
|
// components
|
2023-10-23 13:47:42 +00:00
|
|
|
import { ModulesListView } from "components/modules";
|
|
|
|
import { ModulesListHeader } from "components/headers";
|
2023-11-02 18:27:44 +00:00
|
|
|
// types
|
|
|
|
import { NextPageWithLayout } from "types/app";
|
2023-10-23 13:47:42 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
const ProjectModulesPage: NextPageWithLayout = () => <ModulesListView />;
|
2022-12-16 16:20:09 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
ProjectModulesPage.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
return (
|
|
|
|
<AppLayout header={<ModulesListHeader />} withProjectWrapper>
|
|
|
|
{page}
|
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ProjectModulesPage;
|