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 = () => (
|
2023-12-10 10:18:10 +00:00
|
|
|
<div className="w-full gap-10 overflow-y-auto py-8 pr-9">
|
|
|
|
<div className="flex items-center border-b border-custom-border-100 py-3.5">
|
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;
|