<!DOCTYPE html>
<html>
  <head>
    <title>EngineeringGallery</title>
    <%= csrf_meta_tags %>

    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  </head>

  <body>
    <div class="container-fluid">
      <ul class="nav nav-tabs">
        <li><%= link_to 'Home', root_path %></li>
        <li><%= link_to 'About', about_path %></li>
        <li><%= link_to 'Index', index_path %></li>
        <li><%= link_to 'Contact Us', contact_path %></li>
        <li><%= link_to 'Help', help_path %></li>
        <%- if user_signed_in? %>
        <li><%= link_to t('auth.sign_out'), destroy_user_session_path, method: 'delete' %></li>
        <li><%= link_to t('auth.edit'), edit_user_registration_path%></li>
        <% else %>
        <li><%= link_to t('auth.sign_in'), new_user_session_path %></li>
        <li><%= link_to t('auth.sign_up'), new_user_registration_path %></li>
          <% end %>
     </ul>
     <header>
        <%= link_to image_tag("Engr_Gal.png", alt: "home"), root_path %>
     </header>

     <p class="notice"><%= notice %></p>
     <p class="alert"><%= alert %></p>
      <%= yield %>
    </div>
  </body>
</html>
