Skip to content

Commit

Permalink
new trial to fix the logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ZegCricket committed Jul 30, 2024
1 parent e5f209b commit 6a66496
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 = "/docs/images/logo_white.svg"
document.getElementById("logo").src = "https://fchampalimaud.github.io/cf.bonsai/images/logo_white.svg"
} else {
document.getElementById("logo").src = "/docs/images/logo.svg"
document.getElementById("logo").src = "https://fchampalimaud.github.io/cf.bonsai/images/logo.svg"
}
});

Expand Down

0 comments on commit 6a66496

Please sign in to comment.