animateFrontPageOut(animation) {
    let frontpage = Page.getElementById('content');
    frontpage.classList.add(animation);

    setTimeout(() => {
      frontpage.classList.remove(animation);
      Router.canNavigate = true; // set to allow Router to start accepting navigation again
    }, 1000);
  }
/**
   * Hides the front page content
   *
   * @param {string} animation - CSS class to apply
   */
Hides the front page content
@param {string} animation - CSS class to apply
Hides the front page content @param { string } animation - CSS class to apply
animateFrontPageOut(animation) {
    let frontpage = Page.getElementById('content');
    frontpage.classList.add(animation);
    setTimeout(() => {
      frontpage.classList.remove(animation);
      Router.canNavigate = true; 
    }, 1000);
  }
animateFrontPageOut ( animation ) { let frontpage = Page . getElementById ( 'content' ) ; frontpage . classList . add ( animation ) ; setTimeout ( ( ) => { frontpage . classList . remove ( animation ) ; Router . canNavigate = true ; } , 1000 ) ; }
Hides the front page content
 @param {string} animation - CSS class to apply
Hides the front page content @param { string } animation - CSS class to apply
// set to allow Router to start accepting navigation again