nav.ejs 1.01 KB
<nav class="navbar navbar-expand-sm navbar-light bg-light mb-3">
    <div class="container">
      <div class="navbar-brand"></a>Like</div>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav">
          <li class="nav-item"><a href="/" class="nav-link">Home</a></li>
          <li class="nav-item"><a href="/about" class="nav-link">About</a></li>
          <li class="nav-item"><a href="/api/book" class="nav-link">Book</a></li> 
          <li class="nav-item"><a href="/api/page" class="nav-link">Page</a></li> 
        </ul>
        <ul class="navbar-nav ml-auto">
        
            <li class="nav-item"><a href="/api/auth" class="nav-link">Sign Up</a></li>
            <li class="nav-item"><a href="/api/auth/new" class="nav-link">Login</a></li>
        
        </ul>
      </div>
    </div>
  </nav>