diff --git a/science-quest/index.html b/science-quest/index.html index 629ad9a..95af64d 100644 --- a/science-quest/index.html +++ b/science-quest/index.html @@ -6,7 +6,7 @@ Welcome to Science Quest - +
diff --git a/science-quest/src/components/Titre.vue b/science-quest/src/components/Titre.vue index 6aec7da..d778dc8 100644 --- a/science-quest/src/components/Titre.vue +++ b/science-quest/src/components/Titre.vue @@ -7,6 +7,11 @@ export default{ nomApp:NOM_APP } + }, + methods:{ + changerDarkMode: function(){ + document.body.dataset.bsTheme!="dark" ? document.body.dataset.bsTheme="dark" : document.body.dataset.bsTheme="light" + } } } @@ -15,7 +20,7 @@ export default{ -