You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now website/src/pages/dashboard includes a nice Sidebar with multiple menu options and then presents the select page's contents.
This is a great design that would be nice to use in other scenarios such as for an admin specific page which would have different sidebar options.
To do this I think we need to:
Make website/src/components/Dashboard/SideMenu it's own independent component that takes in a list of menu options as a property.
Factor out the layout code in website/src/pages/dashboard into a layout component in website/src/components/SideMenuLayout that also takes in the list of menu options.
Create several concrete layouts: GeneralSidebarLayout and AdminSidebarLayout, and maybe others.
Use GeneralSidebarLayout in website/src/pages/dashboard
Use AdminSidebarLayout in future admin pages but using a different color scheme and different sidebar options.
The text was updated successfully, but these errors were encountered:
Right now
website/src/pages/dashboard
includes a niceSidebar
with multiple menu options and then presents the select page's contents.This is a great design that would be nice to use in other scenarios such as for an admin specific page which would have different sidebar options.
To do this I think we need to:
website/src/components/Dashboard/SideMenu
it's own independent component that takes in a list of menu options as a property.website/src/pages/dashboard
into a layout component inwebsite/src/components/SideMenuLayout
that also takes in the list of menu options.GeneralSidebarLayout
andAdminSidebarLayout
, and maybe others.GeneralSidebarLayout
inwebsite/src/pages/dashboard
AdminSidebarLayout
in future admin pages but using a different color scheme and different sidebar options.The text was updated successfully, but these errors were encountered: