<!DOCTYPE html>
<html lang="en-US">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" href="/css/style.css">
  <title>
    <%= book.name %> Book Detail
  </title>
</head>

<body>
  <div>
    <ul>
      <li><a class="text-light" href="/"> Home Page</li>
      <li><a class="text-light" href="/booksList"> Books </a></li>
      <li><a class="text-light" href="/admin"> admin </a></li>
      <li><a class="text-light" href="/admin/addnewbook"> Add Book </a></li>
    </ul>

  </div>

  <div id="mainCont">
    <header>
      <h1>
        <%= book.name %>
      </h1>
    </header>
    <div style="display:inline-block;vertical-align:top;">
      <img src="<%= book.image %>" width="100%" height="140%" alt="img" />
    </div>
    <div style="display:inline-block;">
      <p>Author:- <%= book.author %>
      </p>
      <p>Description:- <%= book.desc %>
      </p>
    </div>
  </div>

</body>

</html>