Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.

Star link got fixed #841

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions website/core/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ class Footer extends React.Component {
<div>
<h5>More</h5>
<a href={this.props.config.baseUrl + 'blog'}>Blog</a>
<a href="https://github.com/facebook/react-360">GitHub</a>
<a href={this.props.config.repoUrl} target="_blank" rel="noreferrer noopener">GitHub</a>
<a
className="github-button"
href={this.props.config.repoUrl}
data-icon="octicon-star"
data-count-href="/facebook/react-360/stargazers"
data-show-count={true}
data-count-aria-label="# stargazers on GitHub"
aria-label="Star this project on GitHub">
aria-label="Star this project on GitHub"
target="_blank"
rel="noreferrer noopener">
Star
</a>
</div>
Expand Down
5 changes: 2 additions & 3 deletions website/siteConfig.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ const siteConfig = {
ogImage: 'img/docusaurus.png',
twitterImage: 'img/docusaurus.png',

// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
// repoUrl: 'https://github.com/facebook/test-site',
// This repoUrl info is used in /core/Footer.js and pages/en/users.js
repoUrl: 'https://github.com/facebook/react-360',
};

module.exports = siteConfig;