Skip to content

Commit

Permalink
Add Github button to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 3, 2023
1 parent 4c87678 commit da58aa1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 2 additions & 6 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,5 @@ if ('serviceWorker' in navigator) {
.catch(error => console.log(error));
}

new Vue({
el: '#github-button',
components: {
'vue-github-button': GithubButton,
},
});
new Vue({el: '#github-button', components: {'vue-github-button': GithubButton}});
new Vue({el: '#github-button-footer', components: {'vue-github-button': GithubButton}});
5 changes: 4 additions & 1 deletion resources/views/layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<vue-searchbar value="{{ input_get('q') }}"></vue-searchbar>
</div>

<div style="align-items:center;" class="d-flex order-2 pr-3">
<div style="align-items:center;" class="order-2 pr-3 d-none d-xl-flex">
<vue-github-button id="github-button"></vue-github-button>
</div>

Expand Down Expand Up @@ -230,6 +230,9 @@
title="Zobacz nasz profil na facebooku!">
</a>
{{ breadcrumb|raw }}
<div class="container-xxl">
<vue-github-button id="github-button-footer"></vue-github-button>
</div>
</div>

<div id="footer-inner" class="row">
Expand Down

0 comments on commit da58aa1

Please sign in to comment.