2023-01-11 13:15:03 -08:00
|
|
|
%nav.navbar.navbar-themed.navbar-expand-lg.bg-primary.fixed-top{ class: Rails.env.development? ? "navbar-dev" : "", role: :navigation }
|
2022-12-04 14:07:13 -08:00
|
|
|
.container
|
2022-10-24 13:55:48 -07:00
|
|
|
%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"]
|
2023-01-11 13:15:03 -08:00
|
|
|
- if Rails.env.development?
|
|
|
|
%span.badge.rounded-pill.bg-warning.text-bg-warning.fs-7
|
|
|
|
DEV
|
2023-01-04 03:23:47 -08:00
|
|
|
%button.navbar-toggler{ data: { bs_target: '#j2-main-navbar-collapse', bs_toggle: :collapse }, type: :button }
|
2023-01-04 02:12:40 -08:00
|
|
|
%span.visually-hidden= t("navigation.toggle")
|
2020-04-26 05:29:23 -07:00
|
|
|
%span.navbar-toggler-icon
|
2020-05-10 02:35:10 -07:00
|
|
|
.collapse.navbar-collapse#j2-main-navbar-collapse
|
2023-01-04 02:00:45 -08:00
|
|
|
%ul.nav.navbar-nav.ms-auto
|
2022-07-31 13:53:25 -07:00
|
|
|
= nav_entry t("voc.login"), new_user_session_path
|
2024-08-09 02:12:38 -07:00
|
|
|
- if Retrospring::Config.registrations_enabled?
|
2024-08-08 20:53:37 -07:00
|
|
|
= nav_entry t("voc.register"), new_user_registration_path
|