code: function updateView(pageId) {
      pageId || (pageId = location.hash.substring(1))
      document.getElementById('page-' + pageId) || (pageId = 'intro')
  
      setActiveNav(pageId)
      setActivePage(pageId)
      window.scrollTo(0, 0)
    }
docs: Helpers