Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo.marques committed Jul 31, 2024
2 parents 53ed3e9 + 6a66496 commit 56fa6b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/template/public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export default {

const observer = new MutationObserver(() => {
if (document.documentElement.getAttribute("data-bs-theme") == "dark") {
document.getElementById("logo").src = "/images/logo_white.svg"
document.getElementById("logo").src = "https://fchampalimaud.github.io/cf.bonsai/images/logo_white.svg"
} else {
document.getElementById("logo").src = "/images/logo.svg"
document.getElementById("logo").src = "https://fchampalimaud.github.io/cf.bonsai/images/logo.svg"
}
});

Expand Down

0 comments on commit 56fa6b5

Please sign in to comment.