feat: Created the AdminPageLayout for admin pages#67
feat: Created the AdminPageLayout for admin pages#67Doraemon012 wants to merge 0 commit intobsoc-bitbyte:mainfrom
Conversation
|
Hey @ Doraemon012, you misunderstood the layout component. The layout component is the wrapper that contains common components and wraps the different pages. But no worries, now just separate your code into |
|
@prajjwalkapoor Sir, I have made the requested changes.
|
| }} | ||
| ref={profile_container} | ||
| > | ||
| <Avatar |
There was a problem hiding this comment.
@Doraemon012 We don't need this as we already have this component in Navbar.
| }; | ||
|
|
||
| const current = new Date(); | ||
| const monthNames = [ |
There was a problem hiding this comment.
I think we are not using this part of code. Review and remove unnecessary code from the PR.
| > | ||
| 100 | ||
| </Typography> | ||
| {/* <Box> |
There was a problem hiding this comment.
Remove your debug comments from the PR !!
| > | ||
| Recent orders | ||
| </Typography> | ||
| <Card |
There was a problem hiding this comment.
Replace Card with RecentOrderCard component.
| import busIcon from '../../assets/bus-icon.svg'; | ||
| import arrowIcon from '../../assets/arrowIcon.svg'; | ||
| import scheduleIcon from '../../assets/schedule-icon.svg'; | ||
| import Grid from '@mui/material/Grid/Grid'; |
| @@ -0,0 +1,712 @@ | |||
| import SideBar from '../AdminSideBar'; | |||
There was a problem hiding this comment.
Important !!
- You have added two AdminPageLayout folders. Remove
/components/AdminPageLayoutfolder - Make all the requested changes in
./components/AdminPanel/AdminPageLayout/index.tsx
c596600 to
361483b
Compare

Overview
Essential Checklist