- if spree_current_user
  %ul#login-nav.inline-menu
    %li{"data-hook" => "user-logged-in-as"}
      = t(:logged_in_as)
      \: #{spree_current_user.email}
    %li{"data-hook" => "user-account-link"}
      %i.icon-user
      = link_to t(:account), account_path
    %li{"data-hook" => "user-logout-link"}
      %i.icon-signout
      = link_to t(:logout), spree.logout_path
    %li{"data-hook" => "store-frontend-link"}
      %i.icon-external-link
      = link_to t(".header.store"), spree.root_path, target: "_blank"

- if spree_current_user
  %ul#login-nav.inline-menu
    %li{"data-hook" => "user-logged-in-as"}
      = t(:logged_in_as)
      \: #{spree_current_user.email}
    %li{"data-hook" => "user-account-link"}
      %i.icon-user
      = link_to t(:account), account_path
    %li{"data-hook" => "user-logout-link"}
      %i.icon-signout
      = link_to t(:logout), logout_path
    %li{"data-hook" => "store-frontend-link"}
      %i.icon-external-link
      = link_to t(".header.store"), main_app.root_path, target: "_blank"

Make login nav use main_app router
Make login nav use main_app router
