demarches-normaliennes/app/views/layouts/_navbar.html.haml

23 lines
1.3 KiB
Text
Raw Normal View History

.col-xs-2
%a#title-navbar{ href: root_path }
.row#home
.col-lg-6.no-padding
2018-09-23 23:17:10 +02:00
= image_tag('marianne.svg', class: 'logo')
.col-lg-6.no-padding#tps-title
2018-02-28 16:01:20 +01:00
demarches-simplifiees.fr
.col-xs-10.no-padding
#navbar-body
.row
%div{ style: "max-width: 50%; position: absolute; display: flex; flex-direction: column; justify-content: center; height: 60px; line-height: 20px; z-index: 2;" }
%span
👉 Besoin daide ? Consultez <a target="_blank" rel="noopener" href="https://doc.demarches-simplifiees.fr/">la documentation</a> et <a target="_blank" rel="noopener" href="https://faq.demarches-simplifiees.fr/">laide</a>, contactez-nous par <a style="cursor:hand" onclick="$crisp.push(['do', 'chat:open'])">chat</a> ou <a href="#{contact_admin_path}" target="_blank" rel="noopener">email</a>, ou <a target="_blank" rel="noopener" href="https://calendly.com/demarches-simplifiees/accompagnement-administrateur-demarches-simplifiees-fr">prenez RDV</a>.
2018-08-23 19:02:54 +02:00
-# BEST WTF EVER
-# this begin rescue hides potentials bugs by displaying another navbar
- begin
2016-11-28 10:15:11 +01:00
= render partial: @navbar_url
- rescue
2016-11-28 10:15:11 +01:00
= render partial: 'layouts/navbars/navbar_default'
2016-08-22 14:00:34 +02:00
2016-12-01 10:54:25 +01:00
= render partial: 'layouts/navbars/navbar_log_options'