add master data route
This commit is contained in:
11
src/pages/master/MasterData.tsx
Normal file
11
src/pages/master/MasterData.tsx
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const MasterData = () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<div className="container mx-auto p-5">
|
||||||
|
<h1 className="text-xl font-medium leading-none text-gray-900">Master Data Page</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default MasterData;
|
||||||
11
src/pages/master/aldeias/AldeiasMaster.tsx
Normal file
11
src/pages/master/aldeias/AldeiasMaster.tsx
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const AldeiasMaster = () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<div className="container mx-auto p-5">
|
||||||
|
<h1 className="text-xl font-medium leading-none text-gray-900">Aldeias Master Data</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default AldeiasMaster;
|
||||||
15
src/pages/master/municipios/Municipios.tsx
Normal file
15
src/pages/master/municipios/Municipios.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Container } from '@/components';
|
||||||
|
import { ManageMunicipiosProvider } from './hooks/ManageMunicipiosContext';
|
||||||
|
import MunicipiosContent from './MunicipiosContent';
|
||||||
|
|
||||||
|
const Municipios = () => {
|
||||||
|
return (
|
||||||
|
<ManageMunicipiosProvider>
|
||||||
|
<Container>
|
||||||
|
<MunicipiosContent />
|
||||||
|
</Container>
|
||||||
|
</ManageMunicipiosProvider>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Municipios;
|
||||||
11
src/pages/master/postoadms/PostoAdmsMaster.tsx
Normal file
11
src/pages/master/postoadms/PostoAdmsMaster.tsx
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const PostoAdmsMaster = () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<div className="container mx-auto p-5">
|
||||||
|
<h1 className="text-xl font-medium leading-none text-gray-900">PostoAdms Master Data</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default PostoAdmsMaster;
|
||||||
11
src/pages/master/sucos/SucosMaster.tsx
Normal file
11
src/pages/master/sucos/SucosMaster.tsx
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const SucosMaster = () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<div className="container mx-auto p-5">
|
||||||
|
<h1 className="text-xl font-medium leading-none text-gray-900">Sucos Master Data</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SucosMaster;
|
||||||
@ -25,6 +25,11 @@ import Welcome from '@/pages/menu/welcome/Welcome';
|
|||||||
import Inbox from '@/pages/message/Inbox';
|
import Inbox from '@/pages/message/Inbox';
|
||||||
import ManageWebServices from '@/pages/webservice/ManageWebServices';
|
import ManageWebServices from '@/pages/webservice/ManageWebServices';
|
||||||
import TransferType from '@/pages/transfer/TransferType';
|
import TransferType from '@/pages/transfer/TransferType';
|
||||||
|
import MasterData from '@/pages/master/MasterData';
|
||||||
|
import PostoAdmsMaster from '@/pages/master/postoadms/PostoAdmsMaster';
|
||||||
|
import SucosMaster from '@/pages/master/sucos/SucosMaster';
|
||||||
|
import AldeiasMaster from '@/pages/master/aldeias/AldeiasMaster';
|
||||||
|
import Municipios from '@/pages/master/municipios/Municipios';
|
||||||
|
|
||||||
const AppRoutingSetup = (): ReactElement => {
|
const AppRoutingSetup = (): ReactElement => {
|
||||||
return (
|
return (
|
||||||
@ -32,6 +37,13 @@ const AppRoutingSetup = (): ReactElement => {
|
|||||||
<Route element={<RequireAuth />}>
|
<Route element={<RequireAuth />}>
|
||||||
<Route element={<Demo2Layout />}>
|
<Route element={<Demo2Layout />}>
|
||||||
<Route path="/" element={<DashboardHomePage />} />
|
<Route path="/" element={<DashboardHomePage />} />
|
||||||
|
|
||||||
|
<Route path="/master-data" element={<MasterData />} />
|
||||||
|
<Route path="/master-data/municipios" element={<Municipios />} />
|
||||||
|
<Route path="/master-data/postoadms" element={<PostoAdmsMaster />} />
|
||||||
|
<Route path="/master-data/sucos" element={<SucosMaster />} />
|
||||||
|
<Route path="/master-data/aldeias" element={<AldeiasMaster />} />
|
||||||
|
|
||||||
<Route path="/account/home/user-profile" element={<AccountUserProfilePage />} />
|
<Route path="/account/home/user-profile" element={<AccountUserProfilePage />} />
|
||||||
|
|
||||||
<Route path="/groups/group-management" element={<ManageGroups />} />
|
<Route path="/groups/group-management" element={<ManageGroups />} />
|
||||||
|
|||||||
Reference in New Issue
Block a user