Testing hugo

This commit is contained in:
David 2020-11-19 20:49:43 +01:00
commit e3975962fa
327 changed files with 17224 additions and 0 deletions

15
public/js/toggleLogos.js Normal file
View file

@ -0,0 +1,15 @@
window.addEventListener("resize", toggleLogo);
let lrw = window.matchMedia("(max-width: 735px)");
let law = window.matchMedia("(min-width: 735px)");
function toggleLogo(){
if (lrw.matches) {
document.getElementById("logo-mobile").classList.remove("hidden");
document.getElementById("logo-desktop").classList.add("hidden");
}
else if (law.matches) {
document.getElementById("logo-mobile").classList.add("hidden");
document.getElementById("logo-desktop").classList.remove("hidden");
}
}