-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.js
51 lines (45 loc) · 1.62 KB
/
MainPage.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import React from 'react';
import { NavLink, Outlet } from 'react-router-dom';
const MainPage = () => {
const liList = <>
{/* <NavLink to={'cDashbord'}>
<li className='my-4 font-bold'>Customer Dashbord</li>
</NavLink> */}
<NavLink to={'cform'}>
<li className='my-4 font-bold'>Customer form</li>
</NavLink>
<NavLink to={'cmDashbord'}>
<li className='my-4 font-bold'>customer manager</li>
</NavLink>
<NavLink to={'shead'}>
<li className='my-4 font-bold'>Head of sattlement</li>
</NavLink>
<NavLink to={'admin'}>
<li className='my-4 font-bold'>administration</li>
</NavLink>
<NavLink to={'testing'}>
<li className='my-4 font-bold'>Info</li>
</NavLink>
</>
return (
<>
<section className='w-[100vw] h-[100vh]'>
<div className=' h-[100%] grid grid-cols-12'>
<div className=' bg-red-500 col-span-2 flex justify-center pt-10'>
<ul>
{liList}
</ul>
</div>
<div className=' col-span-10 flex pl-10 w-[75vw] '>
<section className='w-[100%]'>
<Outlet></Outlet>
</section>
</div>
</div>
<h1>
</h1>
</section>
</>
);
};
export default MainPage;