2023-11-02 18:27:44 +00:00
|
|
|
import { ReactElement } from "react";
|
2022-12-20 10:35:21 +00:00
|
|
|
// layouts
|
2023-10-25 10:18:57 +00:00
|
|
|
import { AppLayout } from "layouts/app-layout";
|
2023-11-01 08:15:04 +00:00
|
|
|
import { ProjectSettingLayout } from "layouts/settings-layout";
|
2022-12-20 10:35:21 +00:00
|
|
|
// components
|
2023-10-18 13:47:02 +00:00
|
|
|
import { ProjectSettingHeader } from "components/headers";
|
2023-11-01 08:12:51 +00:00
|
|
|
import { ProjectMemberList, ProjectSettingsMemberDefaults } from "components/project";
|
2023-02-08 04:43:07 +00:00
|
|
|
// types
|
2023-11-02 18:27:44 +00:00
|
|
|
import { NextPageWithLayout } from "types/app";
|
2022-12-20 10:35:21 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
const MembersSettingsPage: NextPageWithLayout = () => (
|
2023-12-10 10:18:10 +00:00
|
|
|
<section className={`w-full overflow-y-auto py-8 pr-9`}>
|
2023-11-02 18:27:44 +00:00
|
|
|
<ProjectSettingsMemberDefaults />
|
|
|
|
<ProjectMemberList />
|
|
|
|
</section>
|
2023-11-01 08:12:51 +00:00
|
|
|
);
|
2022-12-20 10:35:21 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
MembersSettingsPage.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
return (
|
|
|
|
<AppLayout header={<ProjectSettingHeader title="Members Settings" />} withProjectWrapper>
|
|
|
|
<ProjectSettingLayout>{page}</ProjectSettingLayout>
|
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default MembersSettingsPage;
|