From a49581cbe99060036c11ff804f4b950a403ee485 Mon Sep 17 00:00:00 2001 From: clemkeirua Date: Thu, 14 May 2020 14:50:14 +0200 Subject: [PATCH] replaced marianne logo for homepage --- app/assets/images/marianne.svg | 2 +- app/views/layouts/_new_header.haml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/assets/images/marianne.svg b/app/assets/images/marianne.svg index 8ed835709..9690583ea 100644 --- a/app/assets/images/marianne.svg +++ b/app/assets/images/marianne.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/app/views/layouts/_new_header.haml b/app/views/layouts/_new_header.haml index 67eaa3a02..7967eca97 100644 --- a/app/views/layouts/_new_header.haml +++ b/app/views/layouts/_new_header.haml @@ -14,12 +14,13 @@ %header.new-header{ class: current_page?(root_path) ? nil : "new-header-with-border", role: 'banner' } .header-inner-content - .flex.align-center + .flex.align-center.justify-center - if params[:controller] == 'users/commencer' = link_to 'Revenir en arrière', url_for(:back), class: "button", title: "Revenir sur le site de mon administration" - else - = link_to root_path_for_profile(nav_bar_profile), class: 'header-logo', title: "Aller à la page d'accueil de demarches-simplifiees.fr" do - = image_tag 'marianne.svg', alt: 'Liberté, égalité, fraternité', width: 65 + = link_to root_path_for_profile(nav_bar_profile), class: 'header-logo justify-center', title: "Aller à la page d'accueil de demarches-simplifiees.fr" do + = image_tag 'marianne.svg', alt: 'Liberté, égalité, fraternité', width: '65px' + = link_to root_path_for_profile(nav_bar_profile), class: 'header-logo justify-center', title: "Aller à la page d'accueil de demarches-simplifiees.fr" do %span.big.site-title> demarches-simplifiees.fr %span.small.site-title> d-s.fr