flashbots / flashbots-docs

https://docs.flashbots.net
MIT License
192 stars 148 forks source link

Fix double menu on mobile #35

Closed thegostep closed 2 years ago

thegostep commented 3 years ago

Ideally there should only be one hamburger menu in the top left corner

image

RyRy79261 commented 3 years ago

@thegostep

So having looked through other implementations, that secondary one is actually the side bar

For reference: https://reactnative.dev/docs/getting-started

The one in the top is the navBar in the config and the side bar is the one on the bottom right

What I can do is take learnings from the react native site and move our top sections (FB Core, FB Data, Contribute) and make those be items in the nav bar, then they get their own side bar containing only the docs under that section.

I can make the current side bar that has the whole site for the welcome page.

What do you think?

thegostep commented 3 years ago

@RyRy79261 sgtm

obadiaa commented 2 years ago

fixed in new version of Docusaurus yay