2023-11-02 18:27:44 +00:00
|
|
|
import { ReactElement } from "react";
|
2023-11-01 08:12:51 +00:00
|
|
|
// layout
|
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 { ProjectSettingStateList } from "components/states";
|
2023-10-18 13:47:02 +00:00
|
|
|
import { ProjectSettingHeader } from "components/headers";
|
2023-01-29 06:55:20 +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 StatesSettingsPage: NextPageWithLayout = () => (
|
|
|
|
<div className="pr-9 py-8 gap-10 w-full overflow-y-auto">
|
2023-11-07 07:42:05 +00:00
|
|
|
<div className="flex items-center py-3.5 border-b border-custom-border-100">
|
2023-11-02 18:27:44 +00:00
|
|
|
<h3 className="text-xl font-medium">States</h3>
|
|
|
|
</div>
|
|
|
|
<ProjectSettingStateList />
|
|
|
|
</div>
|
2023-11-01 08:12:51 +00:00
|
|
|
);
|
2022-12-20 10:35:21 +00:00
|
|
|
|
2023-11-02 18:27:44 +00:00
|
|
|
StatesSettingsPage.getLayout = function getLayout(page: ReactElement) {
|
|
|
|
return (
|
|
|
|
<AppLayout withProjectWrapper header={<ProjectSettingHeader title="States Settings" />}>
|
|
|
|
<ProjectSettingLayout>{page}</ProjectSettingLayout>
|
|
|
|
</AppLayout>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default StatesSettingsPage;
|