Closed elboletaire closed 3 days ago
π Deployed on https://671f532581a5f49ab1d48956--vocdoni-app-dev.netlify.app
π Deployed on https://671f531f72887999a8d0b36b--vocdoni-app-stg.netlify.app
Mental note: the right margin must be properly added to the layout, rather than to the view like it is right now (that's why is only displayed for the dashboard process view).
Also, review all other admin pages are properly using DashboardContents
component.
Edit: done, and remade the dashboard menu too
Some considerations:
components/Dashboard
folder. The folder used for most dashboard components right now isOrganization
, which does not align with our real intentions here.DashboardContents
component to draw the main dashboard contents, orDashboardBox
to draw boxes. See ProcessView for more details on this.I haven't looked the dashboard menu.. I've just reused what we had there, but it needs a refactor too. Using individual. Remade the dashboard menu as well.setState
methods for each submenu doesn't look like the way to gouseDarkMode
one. TheDarkModeSwitcher
has been removed, and the already existingSwitchColorMode
is being used instead.useOutletContext
(see ProcessView for more details on this).