The navigation menu at the moment has a hard-coded structure based on screen size. As a result, not only is it harder to maintain and has duplicate code, but also means that if we want to show/hide various buttons based on user permissions, the menu will appear different.
This should probably be solved by first calculating the list of visible menu options, and then dynamically calculating which should be displayed and where based on size.
The navigation menu at the moment has a hard-coded structure based on screen size. As a result, not only is it harder to maintain and has duplicate code, but also means that if we want to show/hide various buttons based on user permissions, the menu will appear different.
This should probably be solved by first calculating the list of visible menu options, and then dynamically calculating which should be displayed and where based on size.