Retrospring/app/views/navigation/_guest.html.haml

15 lines
711 B
Plaintext
Raw Normal View History

%nav.navbar.navbar-themed.navbar-expand-lg.bg-primary.fixed-top{ role: :navigation }
2022-12-04 14:07:13 -08:00
.container
%a.navbar-brand{ href: '/', title: APP_CONFIG["site_name"] }
- if APP_CONFIG["use_svg_logo"]
= render inline: Rails.application.config.justask_svg_logo
- else
= APP_CONFIG["site_name"]
2020-05-10 02:35:10 -07:00
%button.navbar-toggler{ data: { target: '#j2-main-navbar-collapse', toggle: :collapse }, type: :button }
2022-07-31 13:53:25 -07:00
%span.sr-only= t("navigation.toggle")
%span.navbar-toggler-icon
2020-05-10 02:35:10 -07:00
.collapse.navbar-collapse#j2-main-navbar-collapse
%ul.nav.navbar-nav.ml-auto
2022-07-31 13:53:25 -07:00
= nav_entry t("voc.login"), new_user_session_path
= nav_entry t("voc.register"), new_user_registration_path