.top-bar.show-for-large
  .row
    .top-bar-left
      %ul.menu
        %li.topbar__logo= link_to image_tag('/logo.svg'), (signed_in? ? dashboard_path : root_path)
        - if company_signed_in?
          %li= link_to t('nav.jobs'), offers_path
          %li= link_to t('nav.candidates'), candidates_path
        -else
          %li= link_to t('nav.jobs_pl'), offers_poland_path
          %li= link_to t('nav.jobs_abroad'), offers_path
          %li= link_to t('nav.companies'), companies_path
    .top-bar-right
      %ul.menu
        %li= locale_link((current_locale == :en ? :pl : :en))

        - if signed_in?
          -if admin_signed_in?
            %li= link_to "Dashboard", "#"
          - else
            %li= link_to t('nav.profile'), profile_path
          %li= link_to t('nav.sign_out'), destroy_user_session_path, method: :delete 
        - else
          %li= link_to t('nav.sign_in'), new_user_session_path
          %li= link_to t('nav.sign_up'), sign_up_path



.top-bar.show-for-large
  .row
    .top-bar-left
      %ul.menu
        %li.topbar__logo= link_to image_tag('/logo.svg'), (signed_in? ? dashboard_path : root_path)
        - if company_signed_in?
          %li= link_to t('nav.jobs_pl'), offers_poland_path
          %li= link_to t('nav.jobs_abroad'), offers_path
          %li= link_to t('nav.candidates'), candidates_path
        -else
          %li= link_to t('nav.jobs_pl'), offers_poland_path
          %li= link_to t('nav.jobs_abroad'), offers_path
          %li= link_to t('nav.companies'), companies_path
    .top-bar-right
      %ul.menu
        %li= locale_link((current_locale == :en ? :pl : :en))

        - if signed_in?
          -if admin_signed_in?
            %li= link_to "Dashboard", "#"
          - else
            %li= link_to t('nav.profile'), profile_path
          %li= link_to t('nav.sign_out'), destroy_user_session_path, method: :delete 
        - else
          %li= link_to t('nav.sign_in'), new_user_session_path
          %li= link_to t('nav.sign_up'), sign_up_path



Change links in topbar for company view
Change links in topbar for company view
