Log out Dashboard Log in Write to us document.querySelector(`[data-header-logout]`)?.addEventListener(`click`,async()=>{try{await fetch(`/api/auth/sign-out`,{method:`POST`,credentials:`include`,headers:{"Content-Type":`application/json`},body:`{}`})}catch{}window.location.href=`/`});var e=document.querySelector(`[data-nav-burger]`),t=document.getElementById(`site-nav`);e&&t&&(e.addEventListener(`click`,()=>{let…