.off-canvas.position-left#offCanvas{'data-off-canvas': ''}
  %button.close-button{'aria-label' => "Close menu", 'data-close': ''}
    %span{'aria-hidden': true} &times;
  %ul.menu.vertical
    %li= locale_link((current_locale == :en ? :pl : :en))
    %li= link_to t('nav.home'), 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'), jobs_poland_path
      %li= link_to t('nav.jobs_abroad'), jobs_abroad_path
      %li= link_to t('nav.companies'), companies_path
  %hr/
  %ul.menu.vertical
    - if logged_in?
      %li= link_to "Profile", profile_path
      %li= link_to "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




.off-canvas.position-left#offCanvas{'data-off-canvas': ''}
  %button.close-button{'aria-label' => "Close menu", 'data-close': ''}
    %span{'aria-hidden': true} &times;
  %ul.menu.vertical
    %li= locale_link((current_locale == :en ? :pl : :en))
    %li= link_to t('nav.home'), root_path
    %li= link_to t('nav.jobs_pl'), jobs_poland_path
    %li= link_to t('nav.jobs_abroad'), jobs_abroad_path
    - if company_signed_in?
      %li= link_to t('nav.candidates'), candidates_path
      %li= link_to t('nav.add_offer'), new_offer_path
    %li= link_to t('nav.companies'), companies_path
  %hr/
  %ul.menu.vertical
    - if logged_in?
      %li= link_to "Profile", profile_path
      %li= link_to "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




Add new offer link to offcanvas menu
Add new offer link to offcanvas menu
