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

22 lines
783 B
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: "vertical-align: middle;float:left;position:absolute;line-height: 60px;z-index:2;" }
Besoin d'aide ? <a href="tel:#{CONTACT_PHONE}">#{CONTACT_PHONE}</a> ou <a href="mailto:#{CONTACT_EMAIL}">#{CONTACT_EMAIL}</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'