simplify navigation

This commit is contained in:
2023-08-06 12:55:10 +02:00
parent 857d0b4663
commit dc05908114
10 changed files with 34 additions and 81 deletions

View File

@@ -1,7 +1,7 @@
const theme_switcher = document.getElementById("theme-switcher");
const imgs = document.getElementsByTagName("img");
const sections_button = document.getElementById("sections-button");
const sections_menu = document.getElementById("sections-menu");
const sections_menu = document.getElementsByTagName("nav")[0];
const main = document.getElementsByTagName("main")[0];
let theme = window.localStorage.getItem("theme");