Hamburger Menu for Quartz
About
As of writing (2024-05-31) the current version of Quartz lacks a mobile hamburger menu. This makes navigation on mobile reliant on the (admittedly good) search function and the sensible placement of links by the creator of a given Quartz website. It's not ideal.
Some Quartz users have implemented a hamburger menu on their own website, such as Owlly Lab by Mara-Li (Github Repo). Mara-Li added a pull request to merge the burger menu into Quartz, but it has issues that require resolving first before it can be merged:
- The burgerMenu layout requires a specific layout structure in a docstring in the layout.ts file in order to work.
- The code requires cleaning as it has a lot of duplicate code.
These issues don't prevent us from implementing it ourselves in the Morrowind Modding Wiki, but it may be wise to instead wait for the official version to be merged.
As an alternative (or addition) to improve navigation on mobile, we could implement a horizontal nav-bar that is pinned to the top of the page, with links to main sections of the wiki.