noscript
  .alert.flash-error CodeTriage requires JavaScript, please enable it!

.top-bar-red
.top-bar-yellow
.top-bar-green
.top-bar-blue

nav.application-navigation
  ul.application-navigation-list
    - if user_signed_in?
      li.application-navigation-list-item= image_tag current_user.avatar_url, class: 'user-profile-image'
      li.application-navigation-list-item= link_to current_user.github, current_user
      li.application-navigation-list-item= link_to "Submit Repo", new_repo_path
      li.application-navigation-list-item= link_to "Sign Out", destroy_user_session_path, method: :delete
    - else
      li.application-navigation-list-item= link_to 'About', what_path
      li.application-navigation-list-item= link_to 'Log in', user_github_omniauth_authorize_path
      li.application-navigation-list-item= link_to 'Sign Up', user_github_omniauth_authorize_path

div.application-logo
  = link_to root_path
    span.application-logo-image

noscript
  .alert.flash-error CodeTriage requires JavaScript, please enable it!

.top-bar-red
.top-bar-yellow
.top-bar-green
.top-bar-blue

nav.application-navigation
  ul.application-navigation-list
    - if user_signed_in?
      li.application-navigation-list-item= image_tag current_user.avatar_url, class: 'user-profile-image', alt: 'user avatar'
      li.application-navigation-list-item= link_to current_user.github, current_user
      li.application-navigation-list-item= link_to "Submit Repo", new_repo_path
      li.application-navigation-list-item= link_to "Sign Out", destroy_user_session_path, method: :delete
    - else
      li.application-navigation-list-item= link_to 'About', what_path
      li.application-navigation-list-item= link_to 'Log in', user_github_omniauth_authorize_path
      li.application-navigation-list-item= link_to 'Sign Up', user_github_omniauth_authorize_path

div.application-logo
  = link_to root_path
    span.application-logo-image

Add descriptive alt text to user profile image
Add descriptive alt text to user profile image

codetriage/codetriage,codetriage/codetriage,codetriage/codetriage