%nav.navbar.navbar-expand-lg.navbar-light.fixed{:style => 'background-color: #ffad33;'}
  %a.navbar-brand{:href => '#', :style => 'color: white'} UFoods
  %span.navbar-toggler-icon
  #navbarSupportedContent.collapse.navbar-collapse
    %ul#links.navbar-nav.mr-auto
      %li.nav-item
        = link_to 'Home', root_path, class: 'nav-link'
      - if current_user
        %li.navbar-text
          Logged in as: #{current_user.email}
          - if @cart
            Cart:
            = @cart.total_unique_items
            - if @cart.shopping_cart_items.any?
              %li.nav-item
                = link_to 'Show cart' , cart_path(@cart, restaurant_id: @restaurant.id), class: 'nav-link'
          %li.nav-item
            = link_to 'Sign Out', destroy_user_session_path, method: :delete, class: 'nav-link'
      - else
        %li.nav-item
          = link_to 'Sign Up', new_user_registration_path, class: 'nav-link'
        %li.nav-item
          = link_to 'Sign in', new_user_session_path, class: 'nav-link'

%nav.navbar.navbar-expand-lg.navbar-light.fixed{:style => 'background-color: #ffad33;'}
  = link_to 'UFoods', root_path, class: 'navbar-brand'
  %span.navbar-toggler-icon
  #navbarSupportedContent.collapse.navbar-collapse
    %ul#links.navbar-nav.mr-auto
      -# %li.nav-item
      -#   = link_to 'Home', root_path, class: 'nav-link'
      - if current_user
        %li.navbar-text
          Logged in as: #{current_user.email}
          - if @cart
            Cart:
            = @cart.total_unique_items
            - if @cart.shopping_cart_items.any?
              %li.nav-item
                = link_to 'Show cart' , cart_path(@cart, restaurant_id: @restaurant.id), class: 'nav-link'
          %li.nav-item
            = link_to 'Sign Out', destroy_user_session_path, method: :delete, class: 'nav-link'
      - else
        %li.nav-item
          = link_to 'Sign Up', new_user_registration_path, class: 'nav-link'
        %li.nav-item
          = link_to 'Sign in', new_user_session_path, class: 'nav-link'

Add home link to UFoods logo
Add home link to UFoods logo
