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

feat(v2): add ability specify link in footer logo #1965

Merged
merged 2 commits into from
Nov 12, 2019

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Nov 12, 2019

Motivation

Often the logo in the footer points to the vendor of this site, so you need the ability to set a link. An example is React Native - https://facebook.github.io/react-native/
This PR implements the same behavior with opacity prop.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Set the external link in themeConfig.footer.logo.href and see that the logo has become clickable.

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 12, 2019
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Nov 12, 2019

Deploy preview for docusaurus-2 ready!

Built with commit dd13203

https://deploy-preview-1965--docusaurus-2.netlify.com

@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Nov 12, 2019

Deploy preview for docusaurus-preview ready!

Built with commit dd13203

https://deploy-preview-1965--docusaurus-preview.netlify.com

@endiliey endiliey added the pr: new feature This PR adds a new API or behavior. label Nov 12, 2019
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.

Approving first. Please make the necessary changes and self-merge!

@endiliey endiliey merged commit 6546c19 into facebook:master Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants