diff --git a/index.html b/index.html index dc42e0e..3247528 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + L(. O.)L @@ -12,7 +12,7 @@
-

LOL

+

LL

Git diff --git a/src/assets/favicon.svg b/src/assets/favicon.svg index ef2b02f..b396f5f 100644 --- a/src/assets/favicon.svg +++ b/src/assets/favicon.svg @@ -61,14 +61,14 @@ inkscape:pagecheckerboard="1" inkscape:deskcolor="#d1d1d1" /> + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/components/lolStatus.vue b/src/components/lolStatus.vue index 0ec6198..4386712 100644 --- a/src/components/lolStatus.vue +++ b/src/components/lolStatus.vue @@ -50,9 +50,12 @@ methods: { updateVisibleStatus(){ let currentTheme = this.lolCurrentStatus ? 'open' : 'closed'; - console.log(currentTheme); + let pageIcon = document.querySelector('link'); + //console.log(currentTheme); + console.log(pageIcon.href); this.statusText = this.lolCurrentStatus ? 'OUVERT !' : 'FERMÉ...'; document.documentElement.setAttribute('data-theme' , currentTheme); + document.querySelector('link').href = this.lolCurrentStatus ? './src/assets/favicon_open.svg' : './src/assets/favicon.svg' this.$refs.lolStatus.style.animation = this.lolCurrentStatus ? 'blink 1.61s infinite' : 'none'; } },