Skip to content

Commit

Permalink
fix: bootstrqpped footer social links
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed Jul 10, 2019
1 parent a124929 commit 545810f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/docusaurus-1.x/examples/basics/core/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,30 @@ class Footer extends React.Component {
aria-label="Star this project on GitHub">
Star
</a>
{this.props.config.twitterUsername && (
<div className="social">
<a
href={`https://twitter.com/${
this.props.config.twitterUsername
}`}
className="twitter-follow-button">
Follow @{this.props.config.twitterUsername}
</a>
</div>
)}
{this.props.config.facebookAppId && (
<div className="social">
<div
className="fb-like"
data-href={this.props.config.url}
data-colorscheme="dark"
data-layout="standard"
data-share="true"
data-width="225"
data-show-faces="false"
/>
</div>
)}
</div>
</section>

Expand Down

0 comments on commit 545810f

Please sign in to comment.