-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Created the AdminPageLayout for admin pages #67
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove your debug comments from the PR !!
> | ||
Recent orders | ||
</Typography> | ||
<Card |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unused imports
@@ -0,0 +1,712 @@ | |||
import SideBar from '../AdminSideBar'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important !!
- You have added two AdminPageLayout folders. Remove
/components/AdminPageLayout
folder - Make all the requested changes in
./components/AdminPanel/AdminPageLayout/index.tsx
c596600
to
361483b
Compare
Overview
Essential Checklist