Skip to content
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

[FEATURE] Combine 'Docs Menu' and top navigation menu into one #82

Open
3 tasks done
tommyalatalo opened this issue Apr 11, 2022 · 0 comments
Open
3 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@tommyalatalo
Copy link

I have checked all the prerequisites below and I don't see this is available

  • Read the README.md
  • Have the extended version of Hugo installed
  • Used the exampleSite's config.toml as a reference

Describe the feature

I just set up a site with Compose, and immediately got a reaction from users asking "why are there two menus on top of eachother on the page on mobile? I didn't think about this myself while setting it up, but now that it's brought to my attention it is quite odd.

This request is for adding an option for, or updating the theme in general to merge the two menus into one menu with sections. I imagine that when you open the top menu (which would be the only one after implementing this change), it would first list the top bar navigation links, and then have a separator saying Docs Menu for the default setup, after which the Docs links would be listed.

In short the two menus are strange, and take up a lot of real estate at the top of the view on mobile.

Something like this from top to bottom is what I imagine, the = is to emphasize a section separator:

Search the docs
Tutorials
Example
=== Docs Menu ===
Themes' Docs
Compose Docs
Install theme
...

Image highlighting the two menus stacked on top of each other:

Stacked Menus

@tommyalatalo tommyalatalo added the enhancement New feature or request label Apr 11, 2022
@onweru onweru self-assigned this Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants