/** * @file * A JavaScript file for the mobile bottom navigation menu. */ (function () { // Hide the main menu on small screens const main_menu = document.querySelector('.main-menu'); const header_region = document.querySelector('.header__region'); const small_screen = window.matchMedia('(max-width: 666px)').matches; if (small_screen) { if (main_menu) main_menu.hidden = true; if (header_region) header_region.hidden = true; } })();