diff --git a/web/assets/css/styles.css b/web/assets/css/styles.css index cf7afaa..0cd310c 100644 --- a/web/assets/css/styles.css +++ b/web/assets/css/styles.css @@ -126,6 +126,12 @@ a { background-color: #ffffff1f; } +.fav-logo { + max-width: 100%; + max-height: 100%; + height: auto; +} + .share-url__container { display: none; height: 40px; diff --git a/web/assets/img/fav.png b/web/assets/img/fav.png new file mode 100644 index 0000000..8ff8771 Binary files /dev/null and b/web/assets/img/fav.png differ diff --git a/web/assets/js/main.js b/web/assets/js/main.js index 1fb6c70..cc0ca71 100644 --- a/web/assets/js/main.js +++ b/web/assets/js/main.js @@ -70,7 +70,6 @@ toggleBtn.addEventListener("click", function () { function toggleMode(theme) { let toggleIcon = document.getElementsByClassName("toggle-theme__icon")[0]; - let exprLogo = document.getElementsByClassName("expr-logo")[0]; let copyIcon = document.querySelectorAll(".editor-copy-icon"); if (theme === "dark") { @@ -78,7 +77,6 @@ function toggleMode(theme) { toggleIcon.src = "./assets/img/moon.svg"; exprEditor.editor.setTheme("ace/theme/tomorrow_night"); dataEditor.editor.setTheme("ace/theme/tomorrow_night"); - exprLogo.src = "./assets/img/logo-dark.svg"; copyIcon[0].src = "./assets/img/copy-dark.svg"; copyIcon[1].src = "./assets/img/copy-dark.svg"; localStorage.setItem("theme", "dark"); @@ -87,7 +85,6 @@ function toggleMode(theme) { toggleIcon.src = "./assets/img/sun.svg"; exprEditor.editor.setTheme("ace/theme/clouds"); dataEditor.editor.setTheme("ace/theme/clouds"); - exprLogo.src = "./assets/img/logo.svg"; copyIcon[0].src = "./assets/img/copy.svg"; copyIcon[1].src = "./assets/img/copy.svg"; localStorage.setItem("theme", "light"); diff --git a/web/index.html b/web/index.html index 9dc9871..414246e 100644 --- a/web/index.html +++ b/web/index.html @@ -39,7 +39,8 @@