From c92b0b163c94e3e51a608dfb177a217f799c5ef6 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 25 Sep 2018 09:48:32 +0200 Subject: [PATCH] Add a banner about the Tour de France on the administration landing page --- app/assets/stylesheets/new_design/landing.scss | 13 +++++++++++++ app/views/root/administration.html.haml | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/app/assets/stylesheets/new_design/landing.scss b/app/assets/stylesheets/new_design/landing.scss index 3b9f35a0d..bf02238f0 100644 --- a/app/assets/stylesheets/new_design/landing.scss +++ b/app/assets/stylesheets/new_design/landing.scss @@ -424,3 +424,16 @@ $cta-panel-button-border-size: 2px; text-decoration: none; } } + +.tour-de-france-banner { + padding-top: 15px; + padding-bottom: 15px; + background-color: $blue; + color: #FFFFFF; + text-align: center; + + a { + color: #FFFFFF; + text-decoration: underline; + } +} diff --git a/app/views/root/administration.html.haml b/app/views/root/administration.html.haml index bae00f101..238015f70 100644 --- a/app/views/root/administration.html.haml +++ b/app/views/root/administration.html.haml @@ -1,6 +1,12 @@ - content_for :footer do = render partial: "root/footer" +.tour-de-france-banner + .container + L'équipe demarches-simplifiees.fr vient à votre rencontre cet automne. + = succeed '.' do + = link_to "En savoir plus", tour_de_france_path + .landing .landing-panel.hero-panel .container