|
@@ -14,6 +14,8 @@ import Container from '@mui/material/Container';
|
14
|
14
|
import Avatar from '@mui/material/Avatar';
|
15
|
15
|
|
16
|
16
|
import MenuIcon from '@mui/icons-material/Menu';
|
|
17
|
+import FullscreenIcon from '@mui/icons-material/Fullscreen';
|
|
18
|
+
|
17
|
19
|
import ChevronLeftIcon from '@mui/icons-material/ChevronLeft';
|
18
|
20
|
import NotificationsIcon from '@mui/icons-material/Notifications';
|
19
|
21
|
import { MainListItems, secondaryListItems } from './listItems';
|
|
@@ -103,14 +105,31 @@ function DashboardContent() {
|
103
|
105
|
<Box sx={{ display: 'flex' }}>
|
104
|
106
|
<CssBaseline />
|
105
|
107
|
<AppBar style={{ backgroundColor : '#fff' }} position="absolute" open={open}>
|
106
|
|
- <Toolbar sx={{ pr: '24px' }} >
|
|
108
|
+ <Toolbar sx={{ pr: '24px' , borderBottom : "1px solid #ec5e69"}} >
|
107
|
109
|
|
108
|
110
|
<IconButton style={{ color : '#212529' }} edge="start" color="inherit" aria-label="open drawer" onClick={toggleDrawer} sx={{ marginRight: '36px', ...(open && { display: 'none' }), }} >
|
109
|
111
|
<MenuIcon />
|
110
|
112
|
</IconButton>
|
111
|
113
|
|
112
|
114
|
<Typography component="h1" variant="h6" color="inherit" noWrap sx={{ flexGrow: 1 }} >
|
113
|
|
- revelation come
|
|
115
|
+
|
|
116
|
+ <IconButton onClick={toggleDrawer}>
|
|
117
|
+ {
|
|
118
|
+ open ?
|
|
119
|
+ (
|
|
120
|
+ <React.Fragment>
|
|
121
|
+ <MenuIcon />
|
|
122
|
+ <FullscreenIcon style={{ marginLeft : 15 }}/>
|
|
123
|
+ </React.Fragment>
|
|
124
|
+ )
|
|
125
|
+ : undefined
|
|
126
|
+
|
|
127
|
+ }
|
|
128
|
+ </IconButton>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
114
|
133
|
</Typography>
|
115
|
134
|
|
116
|
135
|
|
|
@@ -169,23 +188,18 @@ function DashboardContent() {
|
169
|
188
|
sx={{
|
170
|
189
|
display: 'flex',
|
171
|
190
|
alignItems: 'center',
|
172
|
|
- justifyContent: 'flex-end',
|
|
191
|
+ justifyContent: 'flex-start',
|
173
|
192
|
px: [1],
|
174
|
193
|
|
175
|
194
|
}} >
|
176
|
195
|
|
177
|
|
- <div className="sidebar-header">
|
|
196
|
+ <div style={{ flat : 'righ' }} className="sidebar-header">
|
178
|
197
|
<div className="width_img">
|
179
|
198
|
<img src={Logo} alt=""/>
|
180
|
199
|
</div>
|
181
|
200
|
</div>
|
182
|
201
|
|
183
|
202
|
|
184
|
|
- <IconButton onClick={toggleDrawer}>
|
185
|
|
- <ChevronLeftIcon />
|
186
|
|
- </IconButton>
|
187
|
|
-
|
188
|
|
-
|
189
|
203
|
|
190
|
204
|
|
191
|
205
|
</Toolbar>
|