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

refactor(v2): various tweaks to website #2816

Merged
merged 1 commit into from
May 27, 2020
Merged

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented May 27, 2020

Motivation

  • Hold the logo higher so that it is not below the baseline of heading

screenshot_11

  • Fix highlighting of active navbar items using regexps (required many custom rules, but we can't get desired correct behavior without them)

screenshot_9

  • Versions page improvements: title and smaller upper margin (like on other pages)

  • Fix React warnings due to invalid class prop.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

See preview.

Related PRs

(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

@lex111 lex111 added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label May 27, 2020
@lex111 lex111 requested a review from yangshun May 27, 2020 12:05
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 27, 2020
@@ -200,21 +206,17 @@ module.exports = {
{
label: 'Privacy',
href: 'https://opensource.facebook.com/legal/privacy/',
target: '_blank',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant attributes because they are automatically added.

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit a83500c

https://deploy-preview-2816--docusaurus-2.netlify.app

Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, thank you!

@yangshun yangshun merged commit 2105700 into master May 27, 2020
@yangshun yangshun removed the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label May 27, 2020
@lex111 lex111 added this to the v2.0.0-alpha.56 milestone May 27, 2020
@lex111 lex111 deleted the lex111/website-tweaks branch May 27, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants