mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-23 03:43:02 +01:00
this uses our ✨new and improved✨ logo by default, but can be easily changed by modifying `/public/logo.svg`. the svg is loaded only once when the application starts, so any modifications to it after a deployment are visible immediately. thanks to the power of CSS and SVG being able to make use of it, custom colour schemes still work too.
14 lines
755 B
Text
14 lines
755 B
Text
%nav.navbar.navbar-themed.navbar-expand-lg.bg-primary.fixed-top{ role: :navigation }
|
|
.container{ class: ios_web_app? ? 'ios-web-app' : '' }
|
|
%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"]
|
|
%button.navbar-toggler{ data: { target: '#j2-main-navbar-collapse', toggle: :collapse }, type: :button }
|
|
%span.sr-only= t("navigation.toggle")
|
|
%span.navbar-toggler-icon
|
|
.collapse.navbar-collapse#j2-main-navbar-collapse
|
|
%ul.nav.navbar-nav.ml-auto
|
|
= nav_entry t("voc.login"), new_user_session_path
|
|
= nav_entry t("voc.register"), new_user_registration_path
|