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-11-01 08:12:51 +00:00
|
|
|
import { ProjectSettingsLabelList } from "components/labels";
|
2023-10-18 13:47:02 +00:00
|
|
|
import { ProjectSettingHeader } from "components/headers";
|
2022-12-20 10:35:21 +00:00
|
|
|
// types
|
2023-11-02 18:27:44 +00:00
|
|
|
import { NextPageWithLayout } from "types/app";
|
2023-10-25 10:18:57 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
const LabelsSettingsPage: NextPageWithLayout = () => (
|
|
|
|
<div className="pr-9 py-8 gap-10 w-full overflow-y-auto">
|
|
|
|
<ProjectSettingsLabelList />
|
|
|
|
</div>
|
2023-11-01 08:12:51 +00:00
|
|
|
);
|
2022-12-06 14:38:28 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
LabelsSettingsPage.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
return (
|
|
|
|
<AppLayout withProjectWrapper header={<ProjectSettingHeader title="Labels Settings" />}>
|
|
|
|
<ProjectSettingLayout>{page}</ProjectSettingLayout>
|
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default LabelsSettingsPage;
|