Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6f0321

Browse files
author
Lars Bekkema
committed
Add "Back to HackerOne" link
1 parent e2c5928 commit d6f0321

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/components/article/article.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,15 @@ class IndexRoute extends React.Component {
8383
{this.props.children}
8484
{this.props.docOnGithub ? (
8585
<div className="footer__inner">
86-
<a href={githubRepo + this.props.docOnGithub}>
86+
<a href={githubRepo + this.props.docOnGithub} className="pull-left">
8787
Edit this page on GitHub
8888
</a>
89+
90+
<a href="https://www.hackerone.com" target="_blank" className="pull-right">
91+
Back to HackerOne
92+
</a>
93+
94+
<div className="clearfix" />
8995
</div>
9096
) : null}
9197
</article>

src/css/main.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,15 @@ h6 {
7373
margin-left: auto;
7474
margin-right: auto;
7575
}
76+
77+
.pull-left {
78+
float: left;
79+
}
80+
81+
.pull-right {
82+
float: right;
83+
}
84+
85+
.clearfix {
86+
clear: both;
87+
}

0 commit comments

Comments
 (0)