facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
55.56k stars 8.33k forks source link

Remove project name in header bar on mobile #613

Closed JoelMarcey closed 6 years ago

JoelMarcey commented 6 years ago

Is this a bug report?

No. Better user experience. See https://github.com/facebook/Docusaurus/pull/575 for discussion.

Have you read the Contributing Guidelines on issues?

Yes

Environment

N/A

Steps to Reproduce

  1. Go to docusaurus.io on mobile

Expected Behavior

Cleaner header nav with the search bar without project name

Actual Behavior

Project name exists

(Write what happened. Add screenshots, if applicable.)

Reproducible Demo

N/A

yangshun commented 6 years ago

This might be a problem for projects without a logo, like https://twitchtv.github.io/twirp/docs/intro.html

JoelMarcey commented 6 years ago

@yangshun That is a fair point actually. In that case, we could just stick with the title or nothing maybe?

yangshun commented 6 years ago

Sounds like a good idea. Hide the title if there's a logo, else do nothing 👍

yangshun commented 6 years ago

Claimed by @amyrlam