<div class="top-bar">
  <div class="top-bar-buttons">
    <a #mistLink class="nav-button" href="/">HOME</a>
    <a #mistLink class="nav-button" href="/companies">COMPANIES</a>
    <a #mistLink class="nav-button" href="/jobs">JOB BOARD</a>
  </div>
  <a class="top-bar-logo" href="">
    <img class="top-bar-logo" style="margin: 0;" src="img/logo-full.png" />
  </a>
  <div *ngIf="auth.isLoggedIn" class="top-bar-buttons flex-right">
      <a class="nav-button nav-button-login" href="/account/settings"><span>{{ auth.loggedInUser.userName.toUpperCase() }}</span></a>
      <a class="nav-button nav-button-login" href="/account/logout"><span>LOGOUT</span></a>
  </div>
  <div *ngIf="!auth.isLoggedIn" class="top-bar-buttons flex-right">
      <a class="nav-button nav-button-login" href="/account/login"><span>LOGIN</span></a>
      <a class="nav-button nav-button-login" href="/account/register"><span>REGISTER</span></a>
  </div>
</div>
<div class="content">
  <router-outlet></router-outlet>
</div>
<div class="bottom-bar">
  <div class="bottom-bar-buttons bottom-bar-float">
    <a class="nav-button-bottom bottom-bar-padding" href="/contact">CONTACT</a>
    <a class="nav-button-bottom bottom-bar-padding" href="/privacy">PRIVACY</a>
  </div>
  <a class="bottom-bar-logo" href="https://mistox.com">
    <img src="img/mistox-logo.png" />
  </a>
  <div class="bottom-bar-buttons flex-right bottom-bar-float">
    <div class="bottom-bar-padding">
      <span>Mistox LLC</span>
    </div>
  </div>
</div>