Make GitHub buttons functional in editor section
This commit is contained in:
@@ -78,8 +78,27 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<p class="col-12">
|
<div class="col-12">
|
||||||
<img class="editor__github" src="img/features/github_buttons.png" alt="GitHub buttons">
|
<div class="editor__github">
|
||||||
|
<p class="editor__github-button">
|
||||||
|
<a class="github-button"
|
||||||
|
href="https://github.com/bartlomiej-pluta/forkio/subscription"
|
||||||
|
data-icon="octicon-eye" data-size="large" data-show-count="true"
|
||||||
|
aria-label="Watch bartlomiej-pluta/forkio on GitHub">Watch</a>
|
||||||
|
</p>
|
||||||
|
<p class="editor__github-button">
|
||||||
|
<a class="github-button"
|
||||||
|
href="https://github.com/bartlomiej-pluta/forkio"
|
||||||
|
data-icon="octicon-star" data-size="large" data-show-count="true"
|
||||||
|
aria-label="Star bartlomiej-pluta/forkio on GitHub">Star</a>
|
||||||
|
</p>
|
||||||
|
<p class="editor__github-button">
|
||||||
|
<a class="github-button"
|
||||||
|
href="https://github.com/bartlomiej-pluta/forkio/fork"
|
||||||
|
data-icon="octicon-repo-forked" data-size="large" data-show-count="true"
|
||||||
|
aria-label="Fork bartlomiej-pluta/forkio on GitHub">Fork</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -162,6 +181,7 @@
|
|||||||
<!-- JavaScript -->
|
<!-- JavaScript -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
|
||||||
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||||
<script src="js/script.js"></script>
|
<script src="js/script.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -21,4 +21,10 @@
|
|||||||
|
|
||||||
.editor__github {
|
.editor__github {
|
||||||
margin: 40px;
|
margin: 40px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor__github-button {
|
||||||
|
margin: 7px;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user