From da58aa132c3b0786dc947a01e75cd480ddbbaa63 Mon Sep 17 00:00:00 2001 From: Daniel Wilkowski Date: Tue, 3 Oct 2023 10:46:07 +0200 Subject: [PATCH] Add Github button to footer --- resources/js/app.js | 8 ++------ resources/views/layout.twig | 5 ++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index b47841331..0e3c441cf 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -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}}); diff --git a/resources/views/layout.twig b/resources/views/layout.twig index 079adc987..b4f724d33 100644 --- a/resources/views/layout.twig +++ b/resources/views/layout.twig @@ -97,7 +97,7 @@ -
+
@@ -230,6 +230,9 @@ title="Zobacz nasz profil na facebooku!"> {{ breadcrumb|raw }} +
+ +